A
Anthony Boyd
I have a Linux box that is going to share a directory via Samba.
People will be authorized to use the share via LDAP. They may change
the file permissions (on the Samba/Windows side, but the Linux
permissions should remain unchanged).
I wanted to have a PHP script read the Samba permissions set on each
file, and display that via a Web page. PHP doesn't appear up to the
task (but it can get/set Linux permissions OK).
Can Perl handle this? I thought Filesys::SmbClient might work, but
the docs imply Linux permissions can be changed, not the Windows side.
People will be authorized to use the share via LDAP. They may change
the file permissions (on the Samba/Windows side, but the Linux
permissions should remain unchanged).
I wanted to have a PHP script read the Samba permissions set on each
file, and display that via a Web page. PHP doesn't appear up to the
task (but it can get/set Linux permissions OK).
Can Perl handle this? I thought Filesys::SmbClient might work, but
the docs imply Linux permissions can be changed, not the Windows side.