chown
I am running Solaris 9. When I su as root, I want to change ownership of this directory /devbox to adminuser. How do I do this?
root@prod # cd /devbox root@prod # ls -la total 20 drwxr-xr-x 2 root other 512 Nov 2 10:13 . drwxr-xr-x 41 root root 1536 Nov 2 10:38 .. root@prod # |
chown adminuser /devbox
To change the group to adminuser as well: chown adminuser:adminuser /devbox To change the directory and everything in it, as well as group: chown -R adminuser:adminuser /devbox |
Comes back with the error message:
chown: /devbox: Not owner |
Either you aren't root or the directory is remote.
|
All times are GMT -5. The time now is 09:24 PM. |