Jump to content


Write access problems


5 replies to this topic

#1 florentcm

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 15 November 2011 - 10:06 PM

When I attempt to reach the LiveZilla Server Page, I get these errors :

Write Access:
Insufficient Write Access (./uploads/)
Insufficient Write Access (./images/)
Insufficient Write Access (./banner/)
Insufficient Write Access (./_config/)
Insufficient Write Access (./_internal/)
Insufficient Write Access (./_groups/)
Insufficient Write Access (./_log/)
Insufficient Write Access (./stats/)
Insufficient Write Access (./stats/day/)
Insufficient Write Access (./stats/month/)
Insufficient Write Access (./stats/year/)

:arrow: I already read all the topics about changing FTP permissions, and indeed, my permissions were not good. I changed it through FileZilla. I checked the modifications of permissions with a PHP script which contains fileperms instructions.

:idea: The result of this script sounds good to me :

_config 0777 
_definitions 0755 
_internal 0777 
_language 0777 
_lib 0755 
_log 0777 
banner 0777 
docs 0755 
images 0777 
sound 0755 
stats 0777 
stats/day 0777 
stats/month 0777 
stats/year 0777 
templates 0755 
uploads 0777 

:arrow: Besides, I can't use LiveZilla because I can't create a user. I get the following error dur to write access : (500) Internal Server Error. Changes could not be saved.

:?: I think there still is a problem with write access, or maybe LiveZilla don't take effect of the modification.

#2 Derek Punzova

    Support Team Member

  • Moderators
  • 6089 posts

Posted 16 November 2011 - 07:27 AM

Which version of LiveZilla do you use?
Is this shared hosting?
Any PHP security modules running on your webserver?
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#3 florentcm

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 21 November 2011 - 03:45 PM

Version 3.3.2.2
Module Apache mod_pagespeed
It's not shared hosting

#4 Derek Punzova

    Support Team Member

  • Moderators
  • 6089 posts

Posted 21 November 2011 - 03:55 PM

Quote

Module Apache mod_pagespeed
I am not familiar with this module, did you try to turn it off for debugging?
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#5 florentcm

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 21 November 2011 - 07:54 PM

Yes, I don't think it's this module.
I just discovered a few errors in SELinux.

Error for the "uploads" folder I get in /var/log/audit/audit.log :
type=AVC msg=audit(1321890971.527:624798): avc:  denied  { write } for  pid=15718 comm="httpd" name="uploads" dev=dm-0 ino=143323 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=dir

I get the same error log for each folder with writing access problem.
How can I fix it ?

#6 florentcm

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 21 November 2011 - 09:46 PM

Problem fixed with the command :

setsebool -P httpd_unified=1

Found in this thread : https://bugzilla.red...g.cgi?id=472699





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users