Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2986
  • Last Modified:

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
0
raza
Asked:
raza
1 Solution
 
jonkeCommented:
IT sounds as if you are trying to change the permissions on an NFS mounted file system. If the filesystem is mounted from another machine onto yours, you willnot have permissions to change ownership of it as you are not root on that machine. Do a df -k to check this out.
0
 
samriCommented:
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.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now