HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Can't write to directory despite 0777 (http://www.howtoforge.com/forums/showthread.php?t=61106)

TDS 23rd March 2013 21:20

Can't write to directory despite 0777
 
Hello,
big trouble on local system. All scripts are fine on production system but after change local development server system nothing can write despite 0777 directories.

Ubuntu 12.04 Server LTS 64bit
ISPConfig 3.0.5.1

Example: Script No 1
Quote:

get_current_user: web1
get_current_user: 5004
get_current_user: 5005
posix_getpwuid(posix_geteuid): www-data
Quote:


root@SERVER1:/var/www/clients/client1/web1# ll
insgesamt 28
drwxr-xr-x 2 web1 client1 4096 Mär 16 11:20 cgi-bin
drwxr-xr-x 2 root root 4096 Mär 23 21:04 log
drwx--x--- 2 web1 client1 4096 Mär 16 11:20 private
drwxr-xr-x 2 root root 4096 Mär 16 11:20 ssl
drwxrwxrwx 2 web1 client1 4096 Mär 23 19:31 tmp
drwx--x--- 5 web1 client1 4096 Mär 23 20:35 web
drwx--x--- 2 web1 client1 4096 Mär 16 11:20 webdav
root@SERVER1:/var/www/clients/client1/web1# cd web
root@SERVER1:/var/www/clients/client1/web1/web# ll
insgesamt 32
drwxr-xr-x 2 web1 client1 4096 Mär 16 11:20 error
-rwxr-xr-- 1 web1 client1 7358 Mär 16 11:20 favicon.ico
-rwxr-xr-- 1 web1 client1 1915 Mär 16 11:20 index.html
-rwxr-xr-- 1 web1 client1 14 Mär 16 11:20 robots.txt
drwxr-xr-x 2 web1 client1 4096 Mär 23 21:03 stats
drwxrwxr-x+ 6 web1 client1 4096 Mär 19 20:04 subdomains
root@SERVER1:/var/www/clients/client1/web1/web# cd subdomains/
root@SERVER1:/var/www/clients/client1/web1/web/subdomains# ll
insgesamt 32
drwxrwxr-x+ 12 web1 client1 4096 Mär 18 19:32 framework
root@SERVER1:/var/www/clients/client1/web1/web/subdomains# cd framework/
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework# ll
insgesamt 256
drwxrwxr-x+ 7 web1 client1 4096 Mär 18 19:07 templates
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework# cd templates
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework/templates# ll
insgesamt 132
drwxrwxrwx+ 6 web1 client1 4096 Mär 18 18:51 smarty
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework/templates# cd smarty/
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework/templates/smarty# ll
insgesamt 32
drwxrwxrwx+ 2 web1 client1 4096 Mär 18 18:51 cache
drwxrwxrwx+ 2 web1 client1 4096 Mär 18 18:51 config
drwxrwxrwx+ 2 web1 client1 4096 Mär 18 18:51 templates
drwxrwxrwx+ 2 web1 client1 4096 Mär 23 20:27 templates_c
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework/templates/smarty# cd templates_c/
root@SERVER1:/var/www/clients/client1/web1/web/subdomains/framework/templates/smarty/templates_c# ll
insgesamt 0

The strange thing is that on some directory a "+" appears. Maybe special permissions? I can't find any differences compared to production (Debian 6) and old development server (Ubuntu 12.04).

ispcomm 25th March 2013 09:56

check the extended attributes of the directories you want to write to. some might be immutable.

TDS 25th March 2013 11:38

Quote:

Originally Posted by ispcomm (Post 294648)
check the extended attributes of the directories you want to write to. some might be immutable.

And how? Doesn't know how to do it :confused:
If this happen everytime I create a web... omg

ispcomm 25th March 2013 20:16

Quote:

Originally Posted by TDS (Post 294653)
And how? Doesn't know how to do it :confused:
If this happen everytime I create a web... omg

Either http://lmgtfy.com/?q=ext3+extended+attributes

basedir is protected in ispconfig by default.


All times are GMT +2. The time now is 12:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.