Samba Permissions - RWX for all Users
I have an FEDORA 3 box sharing out a mounted secondary 60GB drive at /mnt/share and would like to give everyone on my LAN RWX permissions to the root level directory (Share) and everything 'below' it.
I've created a user with: useradd -d /dev/null -s /bin/false -u 123 samba and I'm mounting the drive with : /dev/hdd1 /mnt/test vfat auto,rw,uid=123 0 0 and the snipped /etc/samba/smb.conf file has: [global] ....... guest account = samba ....... [share] path = /mnt/share writeable = yes browseable = yes valid users = nobody, samba public = yes create mask = 0777 but my users can not write to /mnt/share/Share or any of the sub-directories. They can browse and open the files and folders however. chmod /mnt/share 777 leaves my ls -l /mnt/share listing as...... drwxr-xr-x Can someone offer any advice? I'm aware of the security 'problems' with wide open drives and for the moment....I'm okay with that. Thank you in advance...... |
How about chaging the [share] like this:
[shared] path = /mnt/win/shared guest ok = yes writeable = yes create mode = 0666 directory mode = 0777 browseable = yes public = yes i. e. add a "create mode" line? This works fine for me on my Rh9 system in allowing all users on my LAN to read and write to /mnt/win/shared... |
Thanks rylan76:
Will those chagnes to the smb.conf file automatically change the RWX permissions on all the sub-directories in the /mnt/share directory once restarting samba ? |
All times are GMT -5. The time now is 08:39 PM. |