On running command touch file
I am getting error
touch: cannot touch 'file': permission denied
Although I have 777 permissions on the dir where I am trying to create file but still not able to create file with one particular user, some other users can create files there.
Tried strace
to see what might be root cause but not able to to understand strace output.
One line and I guess relevant as well of strace output is:
open("file", O_WRONGLY|O_CREATE|O_NOCTTY|O_NONBLOCK, 0666) = -1 EACESS (Permission denied)
I tried to create file with specific permissions as well but getting permission error, command tried is:
install -b -m 511 /dev/null file
cd
) to that directory? – Andy Dalton Oct 07 '17 at 05:26