Inside a datasets all files are copying read only files and how to change full controll permissions using commands
-
The --chmod is likely what you need, but you wouldn't want this running on every rsync operation. Since the goal is to mimic the permissions from the source directory.
-
using rsync -arzp command shows error operation not permitted ?
![alt text](image url)
-
Please repost the screenshot.
-
screenshot not copy on this forums ???
-
Seems to work for me, you can drag and drop the screenshot into the post window.
-
The command
rsync -arzp
is different from the command you posted aboversync -rv --stats --delete /mnt/volumes/ root@ipaddress::bkpvolume
All you should need for future rsync operations to copy the permissions should be
rsync -rvp --stats --delete /mnt/volumes/ root@ipaddress::bkpvolume
Or
rsync -avz --stats --delete /mnt/volumes/ root@ipaddress::bkpvolume
-
From here:
rsync -avz foo:src/bar /data/tmp
This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine. The files are transferred in lqarchiverq mode, which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer. Additionally, compression will be used to reduce the size of data portions of the transfer.
-
how to use "rsync -avz foo:src/bar /data/tmp command in my setup ? ...
-
use your rsync commands shows operation not permitted error displays
-
Just to be clear, an rsync with a --delete flag cannot be a backup. That's a replica but not a backup. Any data lost on the source will automatically disappear on the replicant.
-
can i use this command for rsync with same permissions from source to destination
" rsync -rvp --stats --delete /mnt/volumes/ root@ipaddress::bkpvolumes"
(or)
"rsync -avz --stats --delete /mnt/volumes/ root@ipaddress::bkpvolumes "my zpool volumes have windows permissions in both source and destination. it is impact for convert read only files when rsync process running time?
-
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
can i use this command for rsync with same permissions from source to destination
"rsync -avz --stats --delete /mnt/volumes/ root@ipaddress::bkpvolumes "
Yes, that should work fine.
-
If you've never used it, explainshell is awesome...
-
ok i will check this commands
rsync -avz --stats --delete /mnt/volumes/ root@ipaddress::bkpvolumes
And revert back to you
-
@scottalanmiller said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
"rsync -avz --stats --delete /mnt/v
a for archiever
v for verbose
z for compress ??? so which flags take care of same permissions from source to destination . -
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
@scottalanmiller said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
"rsync -avz --stats --delete /mnt/v
a for archiever
v for verbose
z for compress ??? so which flags take care of same permissions from source to destination .archiver
-
@scottalanmiller said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
archive
"a" archiever will do copy same windows permissions from source to destination. ???
-
@Ghani Read the manual...
-
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
And revert back to you
Don't use "revert" back, you mean "reply" back. Revert means something totally different and is extremely dangerous to misuse in IT. I've seen big Fortune 100 banks blow away critical systems because a manager used "revert" instead of "reply".
"Revert back to me" literally means "turn back into me." That's clearly wrong, so we know the sentence is just a mistake.
But if you said "do an action on a system and revert back" it literally means to make a change then blow the change away as if it had never happened. And doesn't imply that they should tell you about it. So you'd never know that anything had been done.
Like if you said "Change the oil in my car and revert" it would mean to change the oil... then take the new oil out and put your old bad oil back in again. People think that this sounds strange, but in IT we do reversion all the time for testing purposes. So it is totally expected to be heard and is totally unrelated to reply so people have no idea what is intended.
-
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
@scottalanmiller said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
archive
"a" archiever will do copy same windows permissions from source to destination. ???
-a, --archive
This is equivalent to -rlptgoD. It is a quick way of saying you want recursion and want to
preserve almost everything (with -H being a notable omission).