Re: can non-owner change file group setup?

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



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Robert Nichols
Sent: Tuesday, May 12, 2009 6:51 PM
To: centos@xxxxxxxxxx
Subject: Re:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux