One silly chmod question

Marti, Robert RJM002 at shsu.edu
Thu Jan 14 14:51:25 UTC 2010


Correct. I believe it says that in the man page.

Sent from my iPhone

On Jan 14, 2010, at 7:45, "ESGLinux" <esggrupos at gmail.com> wrote:

> Hi all,
>
> I have a problem changing permissions to some files using chmod and  
> now I
> have a doubt about the owner and group of a file,
>
> I´ll try to explain.
>
> I have 2 users, user1 and user2, both belongs to group1.
>
> I have a file with this permissions:
> -rwxrwxrwx 1 user1 group1 file.txt
>
> with user2 I can read, write this file. but If I try to change the
> permissions with this:
> chmod 770 file.txt I get the error:
> operation not permitted,
>
> so my doubt is, only the owner can change the permissions to a file?
>
> Thanks,
>
> ESG
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list