Re: Help needed to set correct permissions

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

 



On 4 February 2010 14:34, Perl Whore <whoreperl@xxxxxxxxx> wrote:
> I'm still getting the permission error.
>
> [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to / denied
> [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to /test.htm denied
> [Thu Feb 04 07:29:08 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to /favicon.ico denied

The following should work:-

chmod +x /home/somebody
chmod g+rx /home/somebody/www
find /home/somebody/www -type f | xargs chmod 644

I didn't set /home/somebody as executable earlier so maybe that was it.

> Also, I took a look at mod_userdir and it says the URLs will be like
> http://example.com/~user/ which is not what I'm looking to do. My
> users have their own domains.

Fair enough. You could look at mod_vhost alias if you have a lot of
users to set up.

Cheers,
Phil.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux