aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Pink Panther on October 24, 2005, 09:13:55 AM

Title: Permissions Clarification
Post by: Pink Panther on October 24, 2005, 09:13:55 AM
What exactly do my following default permissions mean:
Files   6 4 0
Directories   7 5 0

What is the maximum security configuratin?
What is optimal permission configuration?
Title: Re: Permissions Clarification
Post by: wuischke on October 24, 2005, 10:23:10 AM
1 means that the iser is allowed to execute the file or browse the folder
2 means that the user has the permission to write to the file or create files in the folder
4 means that user may read to the file or view the files in the folder

Then you just add them and you get the number
4+2=6(read+write)
4(read)
0(no permissions)

4+2+1=7(view files+create files+browse folder)
4+1)5(view files+browse folder)

Quote
What is the maximum security configuratin?
000 ;)
Quote
What is optimal permission configuration?
As always it's a compromise between security and comfort. I've set it to 644 for files and 750 for folders.
Title: Re: Permissions Clarification
Post by: Pink Panther on October 24, 2005, 11:31:48 AM
Hi wuischke,
Thanks for a beautiful complete answer!
Yes, 000 is maximum security configuration indeed...
Title: Re: Permissions Clarification
Post by: ken on October 24, 2005, 11:46:30 PM
What wuischke left out of his description is that the three digits stand for: owner's permissions, group's permissions, everybody else's permissions.

So, 6 4 0 means: owner may read and write, group may read, everybody else has no access permissions.

And 0 0 0 actually denies everybody, including you, the owner, permission to access the file.  There's really no reasons to change the first digit.