|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
When I type...
chmod 777 test.txt The permission changes to... -rwxrwxrwx What if I want it to look like this... -rw-rw---- |
|
#2
|
||||
|
||||
|
will suggest you read on how chmod work
in you example, it would be chmod ug=rw test.txt or chmod 660 test.txt |
|
#3
|
||||
|
||||
|
it's basically binary...
Code:
000 = 0 001 = 1 010 = 2 100 = 4 rwx rwx rwx 111 111 111 -> 7 7 7 --- --- --- 000 000 000 - 0 0 0 rwx rw- r-- 111 110 100 -> 7 6 4 and so on. ![]()
__________________
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Changing permissions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|