Kestutis Saldziunas
2002-May-24 07:25 UTC
[Samba] How force inherit group info on new created files ?
Hello, I have plenty shared dirctories, which are accessed through samba 2.2.4 PDC. Mostly for each directory is created user group, which can access, modify and create files, subdirectories. I would like to force samba to set on new created files and subdirecotries group info according shared directory. For example : \\SERV1\\Install (belongs to group 'adm') new created files now has 'users' group, but I want to be 'adm'. Thanks for any advice, Kestutis -------------- next part -------------- HTML attachment scrubbed and removed
Konkol, Josh
2002-May-24 08:18 UTC
[Samba] How force inherit group info on new created files ?
Set the sgid on the parent directory. I.E. chmod g+s /directory That should force the group of all _new_ files to the group of the parent directory. Note that this does NOT affect permissions. Your umask will do that. You can overide the umask by setting the force create mode in the smb.conf file. HTH Josh -----Original Message----- From: Kestutis Saldziunas [mailto:k.saldziunas@medbank.lt] Sent: Saturday, May 25, 2002 9:26 AM To: samba@lists.samba.org Subject: [Samba] How force inherit group info on new created files ? Hello, I have plenty shared dirctories, which are accessed through samba 2.2.4 PDC. Mostly for each directory is created user group, which can access, modify and create files, subdirectories. I would like to force samba to set on new created files and subdirecotries group info according shared directory. For example : \\SERV1\\Install <file://\\SERV1\\Install> (belongs to group 'adm') new created files now has 'users' group, but I want to be 'adm'. Thanks for any advice, Kestutis -------------- next part -------------- HTML attachment scrubbed and removed
Reasonably Related Threads
- Connection problems (Samba & W2K)
- MultiMaster dsync (cluster1 cluster2 cluster3)
- Need help joining an IPv6 Windows 2008 AD server
- Redundant Rsync?
- Logon path, logon home, logion drive, %u %U samba 3pre1 mix env win 98 and win XP config questions ( easy answers )