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

Scott Silva ssilva at sgvwater.com
Tue May 12 21:15:08 UTC 2009


on 5-12-2009 12:38 PM Les Mikesell spake the following:
> nate wrote:
>> mcclnx mcc wrote:
>>> We are tried to count how many files belong to certain group. Our system
>>> administrator told us "non-owner" can easy change file group name to
>>> another.  I have been tried several combination and never successful (only
>>> ROOT can change file group to other name).
>>>
>>> Does anyone know how "no-owner" can change file group name?
>> If the "no-owner" user has write access to the file they could
>> copy the file to a new file name(thus getting ownership of the
>> file), and overwriting the original file with the new file.
> 
> You need write access in the directory, but only read access to the 
> original file to do this.
> 
But if you only have read access to the original file, can you overwrite it?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20090512/9ec3eb96/attachment.sig>


More information about the CentOS mailing list