Articles

Ubuntu file permissions

The whole idea of file permissions can be quite confusing to someone who normally works with a Windows machine. Once you get your head around the format (chmod 644 for example) and what that means you then get to the issue of default permissions. One issue I’ve got stuck on a few times is the permissions given to a folder by default (when I copy a folder to my apache directory it isn’t given the correct permissions and as a result isnt viewable in the browser). I know there is a Umask setting but the last time I played around with that it just made things more confusing (it might be due to the fact that I was trying to get it to work with CVS). I think for now I’ll just try and remember to change the permissions.