[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] File permissions for default home-directory



Hi,

I´ ve changed the default homepage for virtual sites: 

# pwd
/etc/skel/group/en_US/web
# ls -ald *
-rw-r--r--   1 root     root         5908 Feb  7 15:02 cobalt.html
drwxr-xr-x   9 root     root         1024 Mar 21 12:36 design
drwxrwxrwx   2 root     root         1024 Feb  7 15:04 images
-rw-r--r--   1 root     root          481 Mar 21 14:33 index.html
drwxrwxrwx   2 root     root         1024 Mar 21 12:37 shop
drwxr-xr-x   3 root     root         1024 Mar 21 12:50 shopadmin

I add a new site to our RaQ4. Now the home directory of the new site
looks like this:

# ls -ald /home/sites/site5/web/*
-rw-r--r--   1 nobody   site5        5908 Mar 22 10:02
/home/sites/site5/web/cobalt.html
drwxr-xr-x   9 nobody   site5        1024 Mar 22 10:02
/home/sites/site5/web/design
drwxr-xr-x   2 nobody   site5        1024 Mar 22 10:02
/home/sites/site5/web/images
-rw-rw-r--   1 nobody   site5         481 Mar 22 10:02
/home/sites/site5/web/index.html
drwxr-xr-x   2 nobody   site5        1024 Mar 22 10:02
/home/sites/site5/web/shop
drwxr-xr-x   3 nobody   site5        1024 Mar 22 10:02
/home/sites/site5/web/shopadmin

My Question: Why have the permisson of index.html changed from 644 to
664? 
Why have the permission of the directory shop changed from 777 to 755? 
Is there a setting for UMASK?

I hove you can help me.
Thank you.

Marco Hippeli