ls -l to find file permissions in a shell and found this:
-rw-r--r-- 1 root root 451 Mar 9 15:25 file.class.php
-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'