Unable to change the permission for directory

unable to chnage the ownership as group does not exist

ls -ltr 
drwxr-xr-x   2 1520291  remote      1024 Sep 25  2014 img


root@servername#chown content:remote img
chown: img: Not owner   

Since you seem to be running as root and are getting an EPERM when trying to use chown , I would assume that the file img is from a filesystem that is either mounted:

  • read-only, or
  • from a remote server to which your root privileges do not extend.

And, since you're getting a User ID number instead of a User name for the owner, the latter seems more likely (guessing that UID 1520291 is a valid UID on the remote server, but not on your system).

1 Like