Hello, all:
I am having trouble with the "inherit permissions" flag on my Samba
2.0.7
(ext2 -RedHat 7) box. When a user creates a file or directory, it is created
with their ownership and group, rather than the parent's. Is there anything
special that needs to be done to get this working..?
smb.conf file:
[groups]
comment = Group Files
path = /home/shared/groups
writable = yes
guest ok = no
inherit permissions = yes
#ls -al /home/shared/groups
total 92
drwxr-xr-x 21 ian everyone 4096 Nov 21 11:32 .
drwxrwxr-x 9 ian ian 4096 Nov 21 10:34 ..
...
After creating a file through the samba [groups] share, this is the set of
permissions:
-rwxr--r-- 1 ian ian 0 Nov 24 13:54 test.txt
And yes, other users when creating a file have their owner and group set to
themselves.
Any assistance greatly appreciated!
-+-+-+-+-+-+-+-+-+-
Ian Hogben | Information Support Manager | Safcol Australia
mailto:ian@safcol.com.au | fon:(08)82821082 | fax:(08)82821099
-+-+-+-+-+-+-+-+-+-
"You can tell whether a man is clever by his answers.
You can tell whether a man is wise by his questions."
- Naguib, Mahfouz
Ian, On Fri, 24 Nov 2000 13:56:28 +1030, Ian Hogben wrote:>I am having trouble with the "inherit permissions" flag on my Samba >2.0.7 (ext2 -RedHat 7) box. When a user creates a file or directory, >it is created with their ownership and group, rather than the >parent's. Is there anything special that needs to be done to get this >working..?Have a look into the man page: "inherit permissions" does not do anything with ownership. Try "force user" and "force group". Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 --------------------------------------------------------------- Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email software; far better than Outlook. Try it sometime.