Welcome to Geeklog, Anonymous Thursday, May 02 2024 @ 06:09 am EDT

Geeklog Forums

can't access files


mclark

Anonymous
i get errors like:
"Specified upload directory, /usr/local/geeklog/public_html/images/articles exists but is not writable"

all the files in /usr/local geeklog have rwx permission via "find /usr/local/geeklog -exec chmod a+rwx {} ;

the check.php gives me: (repeated for each directory tested)

Testing logs directory /usr/local/geeklog/logs/ ...
Could not open error.log and access.log for writing.
Please check that you have set the logs directory and the files error.log and access.log in that directory to chmod 775.
Current permissions for logs: 777
Current permissions for error.log: 777
Current permissions for access.log: 777

the files are owned by apache (the process that owns httpd)
what am I missing here?

 Quote

mclark

Anonymous
figured it out.

Note for those using SElinux on Fedora Core 3 or 4: the http demon has it's own policy, httpd_selinux. You have to set the files to have this context or the httpd won't be able to write to them no matter what the standard unix permissions are.

Surprised
 Quote

swami_jeet

Anonymous
For total newbies -- like me....

see http://www.geeklog.net/docs/install.html#corrupted

Specifically: chown -R webuser:webuser /path/to/geeklog
Where webuser = apache
 Quote

All times are EDT. The time is now 06:09 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content