# Managing Permission on Cluster with `chmod` ###### tags: `3. Miscellaneous` `tutorials` `permission` `cluster` ## Introduction There are multtiple reasons why you want to manage permission of files and directories, especially when working in a shared space. The main reason could be to limit access to certain data and code to only your team or yourself, so no third-party personel can modify them without permission. Another reason is to avoid accident. You don't want to your only copy of raw data be "accidentally" deleted or modified by anyone, or especially yourself. Limiting your permission to "write" the file will check your deliberate action to delete or modify the file as it takes you an extra step to regrant you permission to write. Or you simply want to grant someone access to your project file--it works both ways. ## Checking Permission To check permission access to a file or directory, you can do so by listing files and directories in your current directory, but with a special argument to it. The command is ``` ls -l ``` The command `ls` lists alll files and directories, but with an argument `-l` will list the contents in a long format. You have more information about each file: ownership, You will see the file permissions, the number of links, owner name, owner group, file size, time of last modification, and the file or directory name. ## Changing Permissions