[Samba] New files and directories

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


Dimitrios,

	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!

Regards,
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

   

-----BEGIN PGP SIGNED MESSAGE-----
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   
the
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE98NTTcAv8apx8VeARAli4AJ9A1WHBIgyMqZQ1gOVZnqE9AWxmnQCeILky
TuNPfbL40vYdxzLkFeDOEF0=
=bW6j
-----END PGP SIGNATURE-----

 --
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