Samba permissions issue in Debian
I cannot access to a specific folder on my samba share:
I can access folder 3 in this share as the group is different, i.e.:
ls -l /share/MainFolder
drwsrws--- 2 root user 4096 Apr 7 2012 folder 1
drwsrws--- 2 root admin 4096 Apr 7 2012 folder 2
drwsrws--- 2 root operator 4096 Apr 7 2012 folder 3
I can access "folder 3" as this is the primary group for my username:
uid=1005(myusername) gid=513(operator) groups=513(operator),1010(othergroup),1013(admin)
Folder 1, I don't need access to but folder 2, I do need access to and I added myself as member but don't have the correct permissions:
How can I check the permissions my username has for this directory and how do I change it to get access?
I don't have the commands for setfacl or getfacl installed so want to know how else I can check.
Check the groups which you are a member of and need to be a member of carefully and then restart the samba service.
This will correct the permission denied error.
samba does not provide any info about owner or access mode, all these things can be easily overridden with mount options: http://linux.die.net/man/8/mount.cifs ; uid=1005,forceuid should help you
Of course then restart Samba service.
|All times are GMT -5. The time now is 01:50 PM.|