You are not logged in.
Hi all,
I'm setting up a file server for my college. The biggest problem I've had so far is that in samba, the create mask options do nothing! Files create with default permissions of rw for the owner, then r for everyone else. That's system wide though, and I'm pretty sure that's normal. Here's my smb.conf:
#Global Parameters
[global]
workgroup = MSHOME
netbios name = temp
server string = TSR file server
encrypt passwords = yes
wins support = yes
security = user
guest account = user
map to guest = Bad Password
log file = /var/log/samba/%m.log
invalid users = root bin daemon adm sync shutdown halt mail news uucp operator
admin users = admin
valid users = admin user
create mask = 777
directory mask = 777
[movies]
path = /mnt/shared/movies
read only = No
guest ok = Yes
public = Yes
browseable = Yes
[music]
path = /mnt/shared/music
read only = No
guest ok = Yes
public = Yes
browseable = Yes
[games]
path = /mnt/shared/games
read only = No
guest ok = Yes
browseable = Yes
[tv]
path = /mnt/shared/tv
read only = No
guest ok = Yes
browseable = Yes
[essentials]
path = /mnt/shared/essentials
read only = No
guest ok = Yes
browseable = Yes
read list = student
According to the create/directory mask options, any file should create with 777 (rwx for all). Yet it does nothing and creates with the standard as discussed above. 'User' owns all the folders that samba hosts. I've been tearing my hair out over this one; if anyone can help, it would be much appreciated.
Offline
Hi Abecedarian,
try to move "create mask" and "directory mask" options in the share section and change permissions from
777 to 0777
Last edited by luca (2008-03-14 09:56:33)
Offline