Hi good folks,
I used chmod to change permission of a file to work on. Now I want to change it back but I do seem to be having problems.
rwxr-xr-x was the file
I used chmod 751 to change it back but get rwxr-r-x
Thanks
Hi good folks,
I used chmod to change permission of a file to work on. Now I want to change it back but I do seem to be having problems.
rwxr-xr-x was the file
I used chmod 751 to change it back but get rwxr-r-x
Thanks
do you want to change it back to rwxr-xr-x ?
i think you should use 755 instead of 751.
Code:fego@production:~$ touch test.dat fego@production:~$ ll test.dat -rw-r--r-- 1 fego fego 0 Jan 19 23:58 test.dat fego@production:~$ chmod 755 test.dat fego@production:~$ ll test.dat -rwxr-xr-x 1 fego fego 0 Jan 19 23:58 test.dat*
“Progress is made by lazy men looking for easier ways to do things”
— Robert A. Heinlein
Something doesn't look correct.
Please copy/paste the output of ls -l {file} before and after changing the permissions. Also include the exact, copy/pasted, commands used.
Thanks folks it was 755 instead of 751.
I will mark this as solved.
Bookmarks