Problem with apache and glusterfs

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

 



Hello,

i use glusterfs 3.2.3  to share directory between gnu/linux servers.
For directory/sub-directory/file , with user root, all seems to be OK.

Now, i try  to use the same architecture to share
directory/sub-directory for 2 apache servers.

For security reason (sftp no shell access) , i have one user per website
and apache user into the group of the user of the website.

So, in the normal case, with directory into the local disk , it's ok with :
( apache into the group group1 )

755 root.root web_root_dir

and

750 user1.group1 web_root_dir/user1/
750 user1.group1 web_root_dir/user1/www
750 user1.group1 web_root_dir/user1/www/index.php

for example.
But the exactly-same-configuration with a glusterfs isn't ok.

I have to make something like :

755 user1.group1 web_root_dir/user1/
755 user1.group1 web_root_dir/user1/www
750 user1.group1 web_root_dir/user1/www/index.php

Can someone explain me why ?

I have tested to mount -o bind the glusterfs into an over directory,
looking for some options ... etc ...
But no way :'(

Any idea ?

regards,
Yves


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux