linux: change ownership and permission for file or directory via ssh
sources: http://webtools.live2support.com/linux/chown.php, http://www.tuxfiles.org/linuxhelp/fileowner.html
I’ve tried this 2 lines in order.
chown -R -v [username] [directory/file]
chmod -R -v [permission] [username] [directory/file]
-R = recursively, including sub directories
-v = verbose, you will see it in action




February 7th, 2008 at 11:51 pm
At first try it didn’t work. maybe I juz did something not right. So I tried it again coz I found the same syntax on most forums and It works