Eric at Lucii.org on 17 May 2010 14:07:19 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] linux sys admin question


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you, that works.

I see it's only for the present directory so I'll navigate the directory tree
and set those too.

Are there any unintended (security) consequences?  I would not think so but then
those "sticky" bits have always been somewhat of a mystery to me.

Eric

On 05/17/2010 04:09 PM, Paul W. Roach III wrote:
> chmod g+s on the directory.
> 
> On Mon, May 17, 2010 at 4:03 PM, Eric at Lucii.org <eric@lucii.org
> <mailto:eric@lucii.org>> wrote:
> 
> I have a user that I've changed to have a primary group of "www-data":
> 
>  usermod -g www-data devel
> 
> When the user devel creates a new file, the group of that file is
> not www-data
> but is instead the group devel (matches user name).
> 
> How do I stop that and make it so that user created files have the
> correct group?
> 
> Eric
___________________________________________________________________________
Philadelphia Linux Users Group         --
 http://www.phillylinux.org <http://www.phillylinux.org/>
Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --
http://lists.phillylinux.org/mailman/listinfo/plug

> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvxr+sACgkQ2sGpvXQrZ/5GhQCfW5Z8z/bMX8cGw1PzlNbKydh5
hSgAn0QRKZVji4zb6DdFh3yqBlwoT4dl
=gnDN
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug