NuMPTeH
2018-09-18, 21:19
Hi everyone,
Not sure what else to do at this point - I need/want to chmod some files when operating as root, but running chmod never modifies them from 777
e.g.
root@------:/# ls -lah test-mount.sh
-rwxrwxrwx 1 root root 312 Sep 18 13:54 test-mount.sh
root@------:/# chmod 600 test-mount.sh
root@------:/# ls -lah test-mount.sh
-rwxrwxrwx 1 root root 312 Sep 18 13:54 test-mount.sh
Still 777 after setting it to 600
Why? :(
Not sure what else to do at this point - I need/want to chmod some files when operating as root, but running chmod never modifies them from 777
e.g.
root@------:/# ls -lah test-mount.sh
-rwxrwxrwx 1 root root 312 Sep 18 13:54 test-mount.sh
root@------:/# chmod 600 test-mount.sh
root@------:/# ls -lah test-mount.sh
-rwxrwxrwx 1 root root 312 Sep 18 13:54 test-mount.sh
Still 777 after setting it to 600
Why? :(