Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
What is the difference wih permissions set to 755 and se to 777
|
755 means
Owner of the file: full access
Member of the same group than the owner: read and execute permission
Other users: read and execute permission
This is an octal system split in 3 values.
1st value is for the owner of the file..
2nd value is for the members of the same group than the owner.
3rd value is everyone else.
As for the numbers, it works like a bitmask. You have to add the values up to determine the full rights:
4 is for read
2 is for write
1 is for execution
5 is 4+1
From the man page of my linux station:
man 2 chmod
Quote:
S_IRUSR (00400) read by owner
S_IWUSR (00200) write by owner
S_IXUSR (00100) execute/search by owner ("search" applies for direc-
tories, and means that entries within the directory
can be accessed)
|
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 01-22-2009 at 09:11 PM..
|