Sunday 19 March 2017

getting permission Related Error on /tmp even if /tmp is having 777 permissions


In most of the Environments /tmp will have sticky applied to it . if you give 777 also it will not work and gives permission issue because /tmp will be owned by unix user (root) if you want to provide access like creater of file or directory should have all privileges you should apply sticky on that directory.

below command applies sticky on /tmp

chmod 777 /tmp

chmod o+t /tmp


No comments:

Post a Comment