Thursday, March 14, 2013

When I create a new file or folder, what determines the default set of permissions?

Your environment's umask setting. Default is typically
umask 022
which results in directories and files getting created with 755 and 644 permissions respectively.

No comments:

Post a Comment

About Me

My photo
I code. I figured I should start a blog that keeps track of the many questions and answers that are asked and answered along the way. The name of my blog is "One Q, One A". The name describes the format. When searching for an answer to a problem, I typically have to visit more than one site to get enough information to solve the issue at hand. I always end up on,, random blogs, etc before the answer is obtained. In my blog, each post will consist of one question and one answer. All the noise encountered along the way will be omitted.