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

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
ownCloud 5.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.

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/ 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 /home/user_xxx/www/>
#Options Includes Indexes SymLinksIfOwnerMatch ExecCGI
#Options +MultiViews +FollowSymLinks
#AllowOverride None
AllowOverride All

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

again, thanks in advance.
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 and older

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests