Im trying to setup a samba share. I want the share to have access rights rwxrwsrws so that everyone can red and write to it.
The folder shared on the server where the share resides is sat by
chmod 777 to
The folder on the client computer has also been sat by
chmod 777 to
rwxrwsrws, but as soon as I map that folder to the share the permissions are changed to
rwxr x r x when I view it by ls -l and I can't write to the maped folder by using a user that's different from the owner.
Here's what I have done so far:
- Installed samba on a server
- Sat 777 on the folder /data by chmod 777 and shared it by samba
- On the client computer sat 777 on a folder /data (by
- Mapped this folder to the share on the server
This is how I have configured the samba share:
[global] security = user unix extensions = no map to guest = Bad User public = yes guest account = nobody [public] path = /disk2/data guest ok = yes writable = yes browsable = yes public = yes directory mask = 0777 directory security mask = 0777 force directory mode = 0777 force directory security mode = 0777 hide dot files = no
This is how I have mapped the folder to the share on the client computer:
Sudo mount –t cifs //xx.xx.xx.xx/public /data –o user=nobody