Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2013, 21:20
TDS TDS is offline
Junior Member
 
Join Date: Nov 2010
Location: Hanover, Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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).
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2013, 09:56
ispcomm ispcomm is offline
Senior Member
 
Join Date: Aug 2010
Posts: 166
Thanks: 19
Thanked 11 Times in 11 Posts
Default

check the extended attributes of the directories you want to write to. some might be immutable.
Reply With Quote
  #3  
Old 25th March 2013, 11:38
TDS TDS is offline
Junior Member
 
Join Date: Nov 2010
Location: Hanover, Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ispcomm View Post
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
If this happen everytime I create a web... omg
Reply With Quote
  #4  
Old 25th March 2013, 20:16
ispcomm ispcomm is offline
Senior Member
 
Join Date: Aug 2010
Posts: 166
Thanks: 19
Thanked 11 Times in 11 Posts
 
Default

Quote:
Originally Posted by TDS View Post
And how? Doesn't know how to do it
If this happen everytime I create a web... omg
Either http://lmgtfy.com/?q=ext3+extended+attributes

basedir is protected in ispconfig by default.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 15:23
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17


All times are GMT +2. The time now is 06:03.


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