Set the file permission to -rwx——

My goal is to set the permission of a file to -rwx------. The file currently has the permission -rwxr-xr-x. I have set this with chmod +rwx.

Asked By: MartinTTS

||

chmod is the right tool to use, and chmod 700 should accomplish the task.
For a lot more info, check out this guide.

Answered By: mikewhatever
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.