SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 419
Hi All,
I just restored 500 accounts on a server and they all exhibit a problem with /home/usr/domains with wrong permissions.
As such, the error logs in the domains show:
[Mon Sep 27 20:38:21 2010] [crit] [client 46.116.233.180] (13)Permission denied: /home/user/domains/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://domain.com/
When I changed it manually to 755, the site came back up alive with no issues.
Perhaps 711 is also enough?
I've set up the secure_access_group=access in directadmin.conf before I uploaded all the sites,
I even ran echo "action=rewrite&value=secure_access_group" >> /usr/local/directadmin/data/task.queue
And I think that might have caused the problem in the first place.
So DA needs to fix the permission settings on that script?
But what should I do in the meantime?
chmod 755 /home/*/domains will this be the right way to go about it? (711)
I'm just worried that the chown will propagate to lower directories as I'm not sure what the outcome might be because of this.
This is the permission before the permission is set:
drwx--x--- 6 funnyay access 4096 Aug 31 11:34 domains
Please advise
Thanks,
-Alon.
I just restored 500 accounts on a server and they all exhibit a problem with /home/usr/domains with wrong permissions.
As such, the error logs in the domains show:
[Mon Sep 27 20:38:21 2010] [crit] [client 46.116.233.180] (13)Permission denied: /home/user/domains/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://domain.com/
When I changed it manually to 755, the site came back up alive with no issues.
Perhaps 711 is also enough?
I've set up the secure_access_group=access in directadmin.conf before I uploaded all the sites,
I even ran echo "action=rewrite&value=secure_access_group" >> /usr/local/directadmin/data/task.queue
And I think that might have caused the problem in the first place.
So DA needs to fix the permission settings on that script?
But what should I do in the meantime?
chmod 755 /home/*/domains will this be the right way to go about it? (711)
I'm just worried that the chown will propagate to lower directories as I'm not sure what the outcome might be because of this.
This is the permission before the permission is set:
drwx--x--- 6 funnyay access 4096 Aug 31 11:34 domains
Please advise
Thanks,
-Alon.
Last edited: