Saved Bookmarks
| 1. |
Can you explain the method of changing file access permission? |
|
Answer» There are three components of a file permissions
r, w, and X represent read, WRITE and execute respectively. To change the file permission we need to run chmod command. $ ls -l testfile-rwxrwxr-- 1 sroy8091 users 1024 Mar 23 00:10 testfile$ chmod o+wx testfile$ ls -l testfile-rwxrwxrwx 1 sroy8091 users 1024 Mar 23 00:10 testfileHere we updated the permission for other users, from only read to read, write and execute. |
|