I don't understand why the permission does not change for a user when I run the
chmod command with
Initially, the file has these permissions:
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?