Current time: 11-25-2024, 09:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
RC7 -> 1.0.0 - Permission denied
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #3
RE: RC7 -> 1.0.0 - Permission denied
No, always when I run these two scripts all folders in /var/www/ispcp/gui are changed to vu2000:www-data (which should be correct) and I cannot login to ispCP because of

Quote:Warning: session_start() [function.session-start]: open(/var/www/ispcp/gui/phptmp//sess_sO2ThU--l3n6lCc,Cgh0KzICXaa, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/login.php on line 354

Warning: Unknown: open(/var/www/ispcp/gui/phptmp//sess_sO2ThU--l3n6lCc,Cgh0KzICXaa, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0
.

But new files are created by vu2000:www-data so where could be the problem? I have set the rights back to 755 on these two session folders...

EDIT: Some more example:

Quote:/var/www/ispcp/gui/phptmp: ls -al
insgesamt 24
drwxr-xr-x 2 vu2000 www-data 4096 2009-03-11 16:54 .
drwxr-xr-x 12 vu2000 www-data 4096 2009-03-11 14:35 ..
-rwxr-xr-x 1 vu2000 www-data 14103 2009-03-11 17:00 sess_8462ca3bb7da88d05fa694exxxxx

EDIT2: Now I see what the problem is: New files (in phptemp) are created by www-data:www-data and not vu2000:www-data! How can I fix this (should I fix it?)?

Quote:/var/www/ispcp/gui/phptmp: ls -al
insgesamt 28
drwxr-xr-x 2 www-data www-data 4096 2009-03-11 17:33 .
drwxr-xr-x 12 vu2000 www-data 4096 2009-03-11 14:35 ..
-rwxr-xr-x 1 vu2000 www-data 14103 2009-03-11 17:00 sess_8462ca3bb7da88d05fa694eef294ceec
-rw------- 1 www-data www-data 268 2009-03-11 17:35 sess_sO2ThU--l3n6lCc,Cgh0KzICXaa
(This post was last modified: 03-12-2009 02:39 AM by DaSilva.)
03-12-2009 02:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RC7 -> 1.0.0 - Permission denied - DaSilva - 03-12-2009, 12:35 AM
RE: RC7 -> 1.0.0 - Permission denied - DaSilva - 03-12-2009 02:29 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)