capint
4/2/2017 - 9:48 AM

Linux >> File permission

Linux >> File permission

- rwe rw- r-- means for a file, owner has the read/write/execute permission, group has the read/write permission and other people has the read permission

chmod o+w Bacon: give the write permission to other people for the file Bacon (u: user, g:group, o:other people)

chmod 777 Bacon: give the read/write/execute permission to 3 types of users for the file Bacon (7 = 111 = rwe, 5 = 101 = r-e, 4 = 100 = r--)