Change the permissions on a server
Choose who may read, write and run a file of an SFTP server. The other kinds of server do not have this.
Change them
- Connect to the server over SFTP.
- Press the lock, Permissions, of the file or folder.
- Mark what each one may do.
- Press Save.
The line at the bottom says the new permissions in numbers, such as 644.
What each box means
The rows are who: Owner, Group and Others. The window says the names of the owner and the group above.
| Box | In a file | In a folder |
|---|---|---|
| Read | See what it says | See the names that it has |
| Write | Change it | Add, rename and delete files in it |
| Run | Run it as a program | It is called Open: go into it |
Write them as numbers
As numbers has the same in three digits, for the owner, the group and the others. Write there if you prefer it, and the boxes change.
| Numbers | Use |
|---|---|
644 | A file that everybody reads and only its owner changes |
600 | A file that only its owner reads, such as one with passwords |
755 | A folder, or a script that runs |
Good to know
- It changes that file or folder only, and not what the folder holds.
- You can change only what your user on the server owns. With the rest, the server says no.
- When you upload a file that replaces another, the new one keeps the permissions of the old one.