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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2008, 21:30
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Question File and directory permissions

Hi there!
I'm almost getting crazy with setting the owner, file permisions of my site.
After getting ISPConfig 2 working using the superb How-to guide in Ubuntu 8.04, I installed Joomla 1.5.

During the install I had to change configuration.php to 777 in order to be able to write on that file all my joomla settings.

Then I went to install a module and it throws the message:

Quote:
* JFTP::store: Bad response
* Warning! Failed to move file.
1)I've changed all file and directory permissions to 777 inside the "web1" directory just to see if it works but I get the same message.

2)Tried using joomla ftp layer without any luck.

3) I've tried to change the owner off all files and directories to "www-data:www-data" to see if it solves but, again the same message.

4) I've tried suPHP following the guide to Ubuntu 7.04 - I'm not sure if I can use it as I'm executing php as an apache module.
After disabling the php5 module from apache the apache server wouldn't start. Then I proced with the suPHP compilation and it failed again although it generated the .so file (????). So I modified the httpd.conf file (wich was empty) and put the line stated on the how-to.
After that, the apache server wouldn't start. So I enabled again php5 module and finally I get it up.
I do not know if this is the right way of installing suPHP.

And I do not know what to do next...

Can someone help me give me ideas on what to test? Some hits

Many thanks. Regards.

Last edited by miguelpinheiro; 18th November 2008 at 21:34.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2008, 22:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,472
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Joomla 1.5 has a FTP layer, you can configure it trough the joomla setup to circumvent permission problems.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th November 2008, 07:16
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Joomla 1.5 has a FTP layer, you can configure it trough the joomla setup to circumvent permission problems.
I did it and still couldn't install any component. It gave me the same error.

I noticed that some directories and files stills are owned by www-data user instead of web1... user. I'll check this and make sure all files and directories are owned by web1...

I'll update this thread with the results.
Thanks.

Last edited by miguelpinheiro; 19th November 2008 at 10:33. Reason: add new info
Reply With Quote
  #4  
Old 20th November 2008, 15:22
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I finally get it working. Here are the steps I followed:
1) disabled joomla ftp layer
2) All the directories listed in Help->Info->Permissions I changed it to 0777.

Regards.
Reply With Quote
Reply

Bookmarks

Tags
joomla suphp ubuntu

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
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 15:30.


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