Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
cb290916
Commit
cb290916
authored
Jan 23, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the "use chroot" discussion on ID mapping.
parent
a2b0471f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
rsyncd.conf.yo
rsyncd.conf.yo
+9
-3
No files found.
rsyncd.conf.yo
View file @
cb290916
...
...
@@ -136,13 +136,19 @@ the advantage of extra protection against possible implementation security
holes, but it has the disadvantages of requiring super-user privileges,
of not being able to follow symbolic links outside of the new root path
when reading, and of complicating the preservation of usernames and groups
(you'll need to supply in-chroot versions of etc/passwd and etc/group if
you want named-based user/group mapping to be performed).
When "use chroot" is false, for security reasons,
(see below). When "use chroot" is false, for security reasons,
symlinks may only be relative paths pointing to other files within the root
path, and leading slashes are removed from absolute paths. The default for
"use chroot" is true.
In order to preserve usernames and groupnames, rsync needs to be able to
lookup the IDs using getpuid() and getpgid(). This means that the chroot
area will need to have copies of your user/group information (edited, if
desired) inside the chroot tree for rsync to use (the traditional files
are /etc/passwd and /etc/group). If the needed files are not available,
rsync will only be able to copy the IDs, just as if the --numeric-ids
option had been specified.
dit(bf(max connections)) The "max connections" option allows you to
specify the maximum number of simultaneous connections you will allow.
Any clients connecting when the maximum has been reached will receive a
...
...
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