Norwegian version of this page

Permissions for files and folders

Users have the opportunity to set their chosen permissions on files and folders they own, for example in their own home directory.

Permissions for files and folders can be set for the owner (user), for the file group, or/and other users (the world). You can spesify permissions for write, execute and read.

When a home directory is created the permissions for the directory is set to execute for both the (file) group and others, which means this groups will be able to execute files in you directory, but not read anything or list the directory content. In other words, other users will not be able to see what's in your home directory, but they may have the permissions to read a file you give them the path to when the read permissions are set for the actual file.

In the unix system every user will have a standard umask level set to 077, which means that every file and folder you create in your home directory at default are set with no permissons to others at all.

For Windows and MacOS the default permissions on new files and folders may differ, it depends on how you are connected to the actual home or project directory.

The permissions on files and folders can be changed by the owner to the owners choice. When this is said, it is extremely important for everyone to be aware of who they give access to which data.

Data of sensitive (in norwegian) and/or personal (in norwegian) character shall not be stored in home directories, but taken care of in appropriate systems designed for proper purpose.

Learn more about permissions (in norwegian) and the filesystem (in norwegian) in Lokal guide til Linux og Unix (in norwegian).

How to check and change permissions in Linux, Windows and Mac:

Published May 26, 2015 3:35 PM - Last modified June 1, 2015 2:03 PM