Permission denied: access to /data/htaccesstest.txt denied

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
Version 5 is not supported anymore! Only security issues are fixed. Please upgrade your ownCloud.
Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting

Permission denied: access to /data/htaccesstest.txt denied

Postby patrickj » Tue Nov 05, 2013 4:04 am

hello & thank you in advance for your time.

I have been reading up on as many posts as i could and tried what feels almost every permutation i read about there. in short the problem:

if i use the AllowOverride All directive in my vhost, i get:

Permission denied: /www/yyy.xxx.com/oc5/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

if i omit it, or use AllowOverride None:

Permission denied: access to /data/htaccesstest.txt denied

i have not been able to get an installation running without either entry in my error.log. here a few interesting details:

  • the error occurs when i go to the admin panel of the UI, not upon upload etc.
  • i am using dreamhost VPS
  • the user:group settings are correct (ran all the tests & scripts from other posts to validate that)
  • i noticed that the permissions of the .htaccess file in /data gets reverted, even when i change it
  • i can upload/download files fine, so clearly the webserver can write to /data
  • running apache

excerpt from httpd.conf

Code: Select all
<Directory /home/user_xxx>
#AllowOverride AuthConfig FileInfo Indexes Limit #Options=ExecCGI,Includes,Indexes,MultiViews,SymlinksIfOwnerMatch
#Options +MultiViews +FollowSymLinks
#AllowOverride None
AllowOverride All
</Directory>

<Directory /home/user_xxx/www/yyy.xxx.com/oc5>
#Options Includes Indexes SymLinksIfOwnerMatch ExecCGI
#Options +MultiViews +FollowSymLinks
#AllowOverride None
AllowOverride All
</Directory>


any help would be much appreciated, as i have been banging my head on this for a while.

again, thanks in advance.
patrickj
Newbie
 
Posts: 2
Joined: Wed Oct 23, 2013 9:32 pm
ownCloud version: 5.0.12
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.x FastCGI

Return to ownCloud Community Edition 5.x

Who is online

Users browsing this forum: Google [Bot] and 12 guests