Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kevin
ISPConfig 3
Commits
2c651ad7
Commit
2c651ad7
authored
Mar 08, 2011
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a problem with pure-ftpd access to the backup directory.
parent
73ec731b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server/cron_daily.php
server/cron_daily.php
+2
-1
No files found.
server/cron_daily.php
View file @
2c651ad7
...
...
@@ -418,7 +418,7 @@ if($backup_dir != '') {
$web_group
=
$rec
[
'system_group'
];
$web_id
=
$rec
[
'domain_id'
];
$web_backup_dir
=
$backup_dir
.
'/web'
.
$web_id
;
if
(
!
is_dir
(
$web_backup_dir
))
mkdir
(
$web_backup_dir
,
075
0
);
if
(
!
is_dir
(
$web_backup_dir
))
mkdir
(
$web_backup_dir
,
075
5
);
chmod
(
$web_backup_dir
,
0755
);
chown
(
$web_backup_dir
,
'root'
);
...
...
@@ -441,6 +441,7 @@ if($backup_dir != '') {
// Create backupdir symlink
if
(
is_link
(
$web_path
.
'/backup'
))
unlink
(
$web_path
.
'/backup'
);
symlink
(
$web_backup_dir
,
$web_path
.
'/backup'
);
chmod
(
$web_path
.
'/backup'
,
0755
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment