Re: can non-owner change file group setup?

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



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.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
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