AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  chown: module: Operation not permitted. - chown failed on aix server

    Posted Fri May 16, 2008 05:01 AM

    Originally posted by: apple08


    dear aix guru,
    we have assigned this folder 'local' to application admin. when she tries to chown to assign to her id and group, the operation not permitted as per the error shown below. why this thing happen? the current file owner and group is root:sys

    $ ls -la |grep local
    drwxr-xr-x 2 pkiwas wasgrp 4096 May 15 17:31 local
    $ chown -R pkiwas:wasgrp local
    chown: xztyyyy: Operation not permitted.
    chown: abcd1234: Operation not permitted.
    chown: module: Operation not permitted.

    hope to hear from you. thank you


  • 2.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Fri May 16, 2008 10:28 AM

    Originally posted by: orphy


    It doesn't look like you are root when doing the change.
    Orphy


  • 3.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Fri May 16, 2008 11:01 AM

    Originally posted by: apple08


    it's not root. the operation is perform by user.
    i have assigned the folder to user. i thought when i give them the ownership of the folder, they are able to change the owner of the sub diretory under that folder.
    is it true or false of my thinking? hope to hear from you. thank you.


  • 4.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Fri May 16, 2008 11:05 AM

    Originally posted by: orphy


    A normal user can't chown like that. You can change it for them as root.
    Orphy


  • 5.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Fri May 16, 2008 09:55 PM

    Originally posted by: apple08


    dear mr orphy and aix guru,
    but it's tedious for system admin i think.. how to be efficient in this administration... we have few applications inside the server. hope to hear from you. thank you


  • 6.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Sat May 17, 2008 05:04 PM

    Originally posted by: orphy


    I've been doing UNIX for a long time and I've never thought this being efficiency. I don't know your security requirements but there are usually ways to accomplish things if you know how things work and think things through in advance. Maybe having a shared group with the proper permissions would help your situation.
    Orphy


  • 7.  Re: chown: module: Operation not permitted. - chown failed on aix server

    Posted Sun May 18, 2008 08:10 PM

    Originally posted by: dukessd


    Group only has read and execute permission, rwx r-x r-x, if you want to give the group control then chmod 775 the fs.