Quote:
Originally Posted by JJJCR
drwxr-xr-x 2 root root 4096 oct 9 2011 xml
d - directory
rwxr - permission for the owner
xr - permission for the group
x - permission for others
|
No, rwx (read/write/search) for the owner
r-x for the group (NO write permission)
r-x for "others" (non-owner nor in the group, which will be most users in this case)
These are 3 groups of 3 permission letters, - means NOT allowed
2 link count, you can forget about that (it will always be 2 + the number of SUBdirectories for a directory)
root root owner (not user) and group of this directory (cq file)
4096 current size of the file this directory IS.
In an ext? fs a directory will always be a multiple of the block size, that is:
mkdir allocates a full block and every extension will be allocated that too.
In other FS'es this may be different.
BTW: directories in ext? will never shrink, so a directory of, say, 16KB with only a single entry IN it is possible, if it used to contain more filenames.