Sample Header Ad - 728x90

Issue with changing permissions with fakeroot

7 votes
2 answers
2038 views
I don't understand why the permission does not change for a user when I run the chmod command with fakeroot. Initially, the file has these permissions: -rwxr-xr-x a.txt* When I try to change the permission for the file using chmod it works fine: chmod 111 a.txt ---x--x--x a.txt* When I run it with fakeroot it doesn't seem to do the work fine. It sets the permissions for group and other correctly, but not for the user. The permissions for read and write are set, no matter what the 1st value in chmod command is. fakeroot chmod 111 a.txt -rwx--x--x a.txt* Am I missing something?
Asked by Sabin Harnagea (75 rep)
Aug 29, 2019, 10:27 AM
Last activity: Apr 20, 2020, 07:13 PM