|
-
July 10th, 2003, 11:36 AM
#3
Originally posted here by jdenny
Hi Annya...
Code:
drwxrwxrwx
|--- ---
| | --- |
| | | --- other
| | ------ group
| --------- user/owner
----------- see below
first character:
d = directory
l = symbolic link
b = special file
c = character special file
p = fifo (or `named pipe') special file
s = AF_UNIX address family socket
- = ordinary file
permission:
r = read
w = write
x = execute, or change directory if it's a directory
So apparently there is a user named root, a user named annya, a group named root, a group named other, and a group named staff.
drwxr-xr-x 3 root other 512 jul 10 12.57 .
-> for the current directory, user root has rwx permission, group other has rx permission, any other users/groups have rx permission
drwxr-xr-x 26 root root 512 jul 10 12.57 ..
-> for the parent directory, user root has rwx permission, group root has rx permission, any other users/groups have rx permission
drwxr-xr-x 5 annya staff 512 jul 10 12.59 xx
-> for this xx directory, user annya has rwx permission, group staff has rx permission, any other users/groups have rx permission
Gampang kan? Hope this helps.
Peace always,
<jdenny>
OK, but why annya have same permission as root?? (annya not in wheel group)
Thanks denny you remind me of my Granny she is from Bali
Not an image or image does not exist!
Not an image or image does not exist!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|