The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-13-2009
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Only the owner of a file and the user root (uid=0) are allowed to change the filemode of a file. It doesn't matter if you have write-access or not, execute-rights or not, etc..

If you have to change the filemode of a file owned by user1 via a command issued by user2 you might want to explore sudo and its possibilities.

Regarding your original question: works as designed.

I hope this helps.

bakunin