Skip to content

Temp not writable error, it is 777 #35

@jpSimkins

Description

@jpSimkins

I cannot seem to fix the Temp is not writable error. I have opened this directory more than I feel comfortable with (world writable???) and it's still not working. Why is the config file world writable?

I am presented with the error:

Warning : Temporary directory '/usr/share/phpMemcachedAdmin/Temp/' is not writable, please fix this error and try again.

A quick recap of my current permissions...

# ls -la /usr/share/phpMemcachedAdmin/
drwxr-xr-x.  7 root   root    4096 Aug  2 17:53 .
drwxr-xr-x. 96 root   root    4096 Aug  2 17:27 ..
-rwxr-xr-x.  1 apache apache 14841 Mar 15 09:27 commands.php
drwxrwxr-x.  2 apache apache  4096 Aug  2 17:41 Config
-rwxr-xr-x.  1 apache apache  3654 Mar 15 09:27 configure.php
-rw-r--r--.  1 root   root    1541 Aug  2 17:53 httpd.pp
-rw-r--r--.  1 root   root     485 Aug  2 17:53 httpd.te
-rwxr-xr-x.  1 apache apache  5488 Mar 15 09:27 index.php
drwxr-xr-x.  6 apache apache  4096 Mar 15 09:27 Library
drwxr-xr-x.  4 apache apache  4096 Mar 15 09:27 Public
-rwxr-xr-x.  1 apache apache  2126 Mar 15 09:27 README.md
-rwxr-xr-x.  1 apache apache   378 Mar 15 09:27 spam.php
-rwxr-xr-x.  1 apache apache  5437 Mar 15 09:27 stats.php
drwxrwxrwx.  2 apache apache  4096 Mar 15 09:27 Temp
drwxr-xr-x.  6 apache apache  4096 Mar 15 09:27 View
# ls -la /usr/share/phpMemcachedAdmin/Temp/
drwxrwxrwx. 2 apache apache 4096 Mar 15 09:27 .
drwxr-xr-x. 7 root   root   4096 Aug  2 17:53 ..
-rwxr-xr-x. 1 apache apache   15 Mar 15 09:27 .version

I am on an AWS EC2 instance if that helps. I am running CentOS 6 (for now, legacy site for a few months). I had to manually install version 1.3.0 and I added theses rules to SELinux.

setsebool -P httpd_can_network_connect=1
setsebool -P httpd_can_network_memcache 1

I used the installation guide but still having errors on the Temp folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions