Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 30th July 2011, 01:33
snowfly snowfly is offline
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 7 Times in 5 Posts
Default Backup symlink folder permissions wrong

I am unable to change into the /backup folder when connecting via FTP to a site.
Running ISPConfig

WinSCP gives error: Can't change directory to backup: Permission Denied.

Directory listing and permissions:
lrwxrwxrwx  1 root  root         17 Jul 24 00:31 backup -> /var/backup/web26
drwxr-x--x  2 web26 client1000 4096 May 31 15:10 cgi-bin
-rwxr-xr-x  1 root  root         40 Jul 22 11:34 .htpasswd_stats
lrwxrwxrwx  1 web26 client1000   42 May 31 15:10 log -> /var/log/ispconfig/httpd/xxxxx
drwxrwxrwx  2 web26 client1000 4096 Jul 30 00:31 tmp
drwx--x--- 13 web26 client1000 4096 Jul 27 12:43 web
As you can see the backup symlink is owned by root.

Tried the following command, but no difference, still permission denied:
chown -h web26.client1000 backup
Pure-ftpd is running with VIRTUALCHROOT=true

I can access the 'log' directory fine via FTP (with WinSCP)

It appears the /var/backup folder is set to chmod 750
Changing this to 755 allows backups to be read: (even with root.root owner of backup folder symlink)

chmod 755 /var/backup
So to get backups working via FTP on all our ISPconfig servers, I have to issue this chmod 755 command on the /var/backup folder.
Reply With Quote
Sponsored Links


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
Wrong permissions on web folder awd.pt Installation/Configuration 15 20th September 2011 15:37
OpenSuse settings permissions on folder? sebasjuh Installation/Configuration 4 25th July 2011 10:32
SSH jailkit wrong folder aldo Installation/Configuration 3 17th January 2011 13:41
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 19:02
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 17:56

All times are GMT +2. The time now is 07:49.

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