What permissions should my home directory have?

What permissions should my home directory have?

Default permissions on a home directory are 755 in many instances. However that lets other users wander into your home folder and look at stuff. Changing the permissions to 711 (rwx–x–x) means they can traverse folders but not see anything.

What are directory permissions?

Directory permissions use those same flags to indicate who can list files in a directory (r), create and remove files in the directory (w), or cd into or traverse (x) the directory. Carefully consider both the file permissions and the directory permissions to get the desired end result.

What do I need to know about the permissions in a directory?

After a file or directory recognizes you as a user owner, group owner, or other, it assigns a combination of the following permissions: r: The read permission lets you view or read the file or directory. w: The write permission lets you write or modify the file or directory.

How to give permissions to a folder in Active Directory?

You want to use AGDLP to give Read/Write Permissions to a folder on a network share. First create a global group in Active Directory where you collect all users that need the same permissions. In our example I call this group „Department1“ and add „User1“ to it.

What are the recommended directory permissions for PHP?

Specifically default/files/ (also sub directories?), settings.php, .htaccess and anything else I should be aware of. Your web server should be able to read all of the files but not write to them. If your site involves uploading files then give the server permission to write to that one folder only.

How to give permissions to a shared folder?

Inside that folder, there is a subfolder that I want to give permissions. So I created a security group and give permission to that security group (following this link) and put a user into that group. Then I tried to use it to no avail. The user can’t access the folder.