[CentOS] can non-owner change file group setup?

Wed May 13 15:18:38 UTC 2009
Blackburn, Marvin <mblackburn at glenraven.com>

When we migrated from HPUX to Redhat we noticed this.  I opened a case
and we determined that you could not do this with the standard chgrp or
chown commands if you are not root.  The reason I was given is to keep
people from getting around the disk quota stuff.

A listing in one of the redhat forums stated that there was an option in
one of the .h files that determined if this was allowed.  You had to
recompile your kernel to get this to work.  

We did some workarounds with sudo to get the necessary functionality.

_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of Robert Nichols
Sent: Tuesday, May 12, 2009 6:51 PM
To: centos at centos.org
Subject: Re: [CentOS] can non-owner change file group setup?

nate wrote:
> Scott Silva wrote:
> 
>> But if you only have read access to the original file, can you
overwrite it?
> 
> If you have write access to the directory yes you should be able
> to, if you only have read access to the directory I would expect
> not.

Technically, that's not overwriting.  That's removing the original and
replacing it with another file with the same name.  That difference
would be significant if there where other hard links to the original
file.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos