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
58b7b3d6
Commit
58b7b3d6
authored
Oct 31, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suggest -Z as a good popt alias letter instead of -s.
parent
ce055e86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
rsync.yo
rsync.yo
+5
-5
No files found.
rsync.yo
View file @
58b7b3d6
...
@@ -854,17 +854,17 @@ permissions (while leaving existing files unchanged), make sure that the
...
@@ -854,17 +854,17 @@ permissions (while leaving existing files unchanged), make sure that the
bf(--perms) option is off and use bf(--chmod=ugo=rwX) (which ensures that
bf(--perms) option is off and use bf(--chmod=ugo=rwX) (which ensures that
all non-masked bits get enabled). If you'd care to make this latter
all non-masked bits get enabled). If you'd care to make this latter
behavior easier to type, you could define a popt alias for it, such as
behavior easier to type, you could define a popt alias for it, such as
putting this line in the file ~/.popt (th
is defines the bf(-s
) option,
putting this line in the file ~/.popt (th
e following defines the bf(-Z
) option,
and includes --no-g to use the default group of the destination dir):
and includes --no-g to use the default group of the destination dir):
quote(tt( rsync alias -
s
--no-p --no-g --chmod=ugo=rwX))
quote(tt( rsync alias -
Z
--no-p --no-g --chmod=ugo=rwX))
You could then use this new option in a command such as this one:
You could then use this new option in a command such as this one:
quote(tt( rsync -a
sv
src/ dest/))
quote(tt( rsync -a
vZ
src/ dest/))
(Caveat: make sure that bf(-a) does not follow bf(-
s
), or it will re-enable
(Caveat: make sure that bf(-a) does not follow bf(-
Z
), or it will re-enable
the
"--no-*" options
.)
the
two "--no-*" options mentioned above
.)
The preservation of the destination's setgid bit on newly-created
The preservation of the destination's setgid bit on newly-created
directories when bf(--perms) is off was added in rsync 2.6.7. Older rsync
directories when bf(--perms) is off was added in rsync 2.6.7. Older rsync
...
...
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