Samba sharing, linux permissions and best practice
Hi everyone
I've got a RAID 6 array successfully formatted and mounted in Ubuntu Server 8.04. I'm now looking to share this device out to the network as a series of Samba shares. I'm not worrying about printers yet, I'll wait until I've got basic shares working until I get my printers on there. I'm using a rather good 3ware hardware RAID controller which is automatically picked up by Ubuntu. There's a few things I need some advice on though: The RAID device is mounted at /media/raid so within that device I've created a few folders which will be the root of some shares. I want all of these shares to be complete anonymous access - anyone on our local network can read/write to the files on these shares (once I've got our mail transferred to Zimbra I'll set up LDAP auth) 1) Do the Linux permissions of the root share folders within /mount/raid matter to Windows/Mac clients? Or is that all down to the Samba/Netatalk conf files? 2) Should I set the permissions of /mount/raid to that of my main user account on this server box? 3) Do the Linux permissions of any files/folders created on this device through Samba, get inherited from the partitions of the /mount/raid mountpoint or anywhere else? Or will I have to run a shell script every so often to reset all the file permissions on the NAS to ensure my server admin account retains ownership? Does my server admin user account need to retain ownership of the files/folders? 4) Here's my smb.conf so far (modified the default but have stripped most of the cruft/comments out) Code:
[global] The last thing I want with these anonymous/guest shares is for people to be getting permission errors on certain files/folders Any comments/suggestions/answers are most appreciated ;) Thanks, B |
All times are GMT -5. The time now is 09:33 PM. |