Link to home
Start Free TrialLog in
Avatar of raza
razaFlag for United States of America

asked on

chown "NOT OWNER" ERROR

I m login as root and tring to perform following command

chown -R raza mypath/dirnet/test
chown: mypath/dirnet/test: Not owner


how do I change a directory ownership
ASKER CERTIFIED SOLUTION
Avatar of jonke
jonke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
raza,

    check jonke's comment first.

  BTW, you want to just change the ownerwship (chown) just the directory or everything that lies under that dir tree.  The chown cmd that you are using will recursively change the ownership each and every thing under that dir /mypath/dirnet/test

just curious.