linux:filepermission
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:filepermission [2016/06/07 10:54] – created admin | linux:filepermission [2016/06/07 10:59] (current) – admin | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| 2 Group | 2 Group | ||
| 3 Other | 3 Other | ||
| + | |||
| + | Example 600, 777 | ||
| + | </ | ||
| + | |||
| + | b) File permission explanation | ||
| + | <code bash> | ||
| + | drwxrwxrwx | ||
| + | d=directory | ||
| + | r=read | ||
| + | w=write | ||
| + | x=execute | ||
| + | |||
| + | Example 0777 | ||
| + | </ | ||
| + | |||
| + | c) Change permission | ||
| + | <code bash> | ||
| + | chmod 777 yourfile | ||
| + | </ | ||
| + | |||
| + | d) Change ownership of a file | ||
| + | <code bash> | ||
| + | chown root,root yourfile | ||
| </ | </ | ||
linux/filepermission.1465289694.txt.gz · Last modified: 2016/06/07 10:54 by admin
