[Samba] New files and directories

Robert Adkins raa at impelind.com
Fri Dec 6 17:15:00 GMT 2002


	Thank you thank you thank you!

	That answer worked perfectly! It's odd that I hadn't come across the   
chmod g+s command previously. I had spent some time learning the   
permissions on a UNIX system. I never recall seeing that option.

	Again, thanks for the assistance!

Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
Ph. 586-254-5800
Fx. 586-254-5804

 -----Original Message-----
From: Dimitrios Stergiou [mailto:dste at intranet.gr]
Sent: Friday, December 06, 2002 6:48 PM
To: samba at lists.samba.org; Robert Adkins
Subject: Re: [Samba] New files and directories


Hash: SHA1

On Friday 06 December 2002 06:36 pm, Robert Adkins wrote:
> 	[emergpo]
>         path = /share/purchasing/emergpo
>         valid users = @emergpo

> 	Now, from what I understand any new files that are created within this
> share should have the ownership be the following <username>:emergpo.
> Unfortunately, that is not happening, what is happening is that both   
> user and the group ownership bit are set to the creator of the file.
> Which is HIGHLY annoying since my phone is often inundated with calls
> asking why they can't access a file located on said drive.

Hi there,
the usual solution that i enforce is (for your case):
# cd /share/purchasing
# chgrp -R emergpo emergpo
# chmod g+s emergpo

This will result to the group ownership to be propagated to every
directory/file created

 - --
Dimitrios Stergiou
System, Network and Security Administration Group
Intracom S.A

DISCLAIMER: Funny signature follows
 - -----------------------------------

Behind every great man, there is a woman -- urging him on.
		-- Harry Mudd, "I, Mudd", stardate 4513.3
Version: GnuPG v1.0.7 (GNU/Linux)


To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list