- the folder permission of the parents folder where your samba share is located (at server side)
- the folder permission of the parents folder where your fstab mounted folder is located
- the create mask and directory mask in /etc/samba/smb.conf on your server
- the file_mode, directory_mode, noperm, rw and credentials in your /etc/fstab on client PC
General rules are parent folders permission will always overwrite the smb.conf & fstab.
When do I need to check the parents folder permission?
- If you have set everything in both files and still cannot get the correct permission for new created file/directory in your samba shares. Check client PCs mount folder's parent's permission
- If client PCs has problem access the samba shares, even with the correct username & password entered. Check server samba share parent's folder permission
- When you need valid users = xxx, xxx to give access to client PCs. Check server samba share parent's folder permission
I have set the samba/fstab/parent folder permission, but I still don't have write permission?
- you need to add uid=***your current user name*** at the fstab mount option.
- When creating file/directory in the mount folder (using Ubuntu 12.10), it does not honor the create mask & directory mask set by the server's smb.conf. I'm still looking for a solution... appreciate if anyone can help.