OK, I've tried again but I still not work
I've put umask=000 in mount parameters and now the directory is mounted
with full access to any user:

[EMAIL PROTECTED] localhost # ls -ld /mnt/dados
drwxrwxrwx   27 myers    root        16384 Dec 31  1969 /mnt/dados

so I've tried even putting the entire path in DocumentRoot since that
when I'm using symlink I get some error:
[Mon Feb 09 20:52:22 2004] [error] [client 127.0.0.1] Symbolic link not
allowed: /var/www/localhost/htdocs
and now my apache2.conf is like that:
[EMAIL PROTECTED] localhost # cat /etc/apache2/conf/apache2.conf |grep -i
documentroot
#DocumentRoot /var/www/localhost/htdocs/
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
So, I also can't view the page and I get another error on to apache log:
[Mon Feb 09 20:54:12 2004] [error] [client 127.0.0.1] client denied by
server configuration: /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www/

Which configuration is this that apache tell me about???

tks in advice

claudinei matos

On Mon, 2004-02-09 at 17:20, Daniel Drake wrote:
> Claudinei Matos wrote:
> > That's it...
> > I get a look at the directory and I see that the permissions is just for
> > owner:
> > [EMAIL PROTECTED] myers $ ls /mnt/dados -ld
> > drwxr--r--   27 root     fat         16384 Dec 31  1969 /mnt/dados
> > so in my /etc/fstab I'm using gid in mount options. how can I mount this
> > directory with rwx permissions to group?
> 
> Hi,
> 
> I have a partition which I mount for access by everyone on the system.
> To achieve this, I have appended "umask=000" onto the options in my fstab.
> 
> You should try that first (remember to re-mount). If apache then will serve 
> documents, then perhaps you should tweak the "000" value to something a little 
> more restrictive.
> 
> Daniel.
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to