0
I used ls -l
to find file permissions in a shell and found this:
File 1: -rw-r--r-- 1 root root 451 Mar 9 15:25 file.class.php
File 2: -rw-rw-r-- 1 andy dev 872 Mar 9 15:43 file.class.php
I want file 1's permissions to be changed to file 2's permissions. I have root access and am cd'd
to the proper directories. I have never used chmod before and am having some trouble. When I try to do this:
chmod 872 file.clas.php
I get the error: chmod: invalid mode: '872'
0664, or just
chmod g+w
– Wrikken – 2013-03-09T21:06:15.007