File permissions mode 0777 vs 777

file permission mode 0777 vs 777

If the question Whats the difference between 0777 vs 777 file modes? runs through your mind, you’re not alone. Lets find out… A bit of history, I needed to create a directory (using Php). So as per the syntax of mkdir(), I used mkdir(‘/path/to/create/dir’, 777); where the 2nd passed parameter is the file mode. Normally, … Read more