Results 1 to 4 of 4
I'm trying to setup a Samba server and I cannot make the files and folders inherit the permissions of the parent folder. I'd like to set the permissions on the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-14-2004 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 2
HELP! Can't make SAMBA Inherit Permissions
I'm trying to setup a Samba server and I cannot make the files and folders inherit the permissions of the parent folder. I'd like to set the permissions on the parent folder and have them propogate down as well as become inherit to new files and folders. I've tried setting the "inherit permissions" option. Here is part of my smb.conf file. Any ideas??
[gdwin]
path = /gdwin
public = yes
writeable = yes
guest ok = yes
inherit permissions = YES
create mask = 770
force create mode = 770
force directory mode = 770
# inherit permissions = yes
[accounting]
path = /accounting
writeable = yes
valid users = angela, paul, rickr, shevin
inherit permissions = yes
[test]
path = /var/test
writeable = yes
comment = test
guest ok = yes
[drive_c]
path = /root/.wine/drive_c
writeable = yes
comment = drivec
guest ok = yes
inherit permissions = yes
[ftpshare]
path = /var/ftp
writeable = yes
coment = ftpshare
guest ok = no
inherit permissions = yes
- 12-14-2004 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Montreal, Canada
- Posts
- 1,267
i'm not quite familiar with Samba, but I dont think inherits will set all the subsequent folder the same as the "top" one... can't you use the good old umask?
\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps
- 12-14-2004 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 2
I suppose i could, but if a user adds a new folder or creates a new file, i'd have to go in and umask that fold or file, it wouldn't automatically inherit the permissions of it's parent.
- 12-14-2004 #4Linux Engineer
- Join Date
- Nov 2004
- Location
- Montreal, Canada
- Posts
- 1,267
:S and what if you set the folder to a specific group... that group would inherit its right...
\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps


Reply With Quote
