Inside a datasets all files are copying read only files and how to change full controll permissions using commands
-
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
how to change read only files to full control files using any freenas linux commands ?
What do you mean?
-
rsync process running using scripts. if i edit the rsync commands and running rsync process means , if any impact happens ?
-
The impact would be your backup directory would have the permissions copied from the source directory.
-
any commands for changing whole read only files & folders through shell interface.
-
@Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:
any commands for changing whole read only files & folders through shell interface.
So you have the read-only flag set on your directories and files, and want to remove this flag from the existing backup. There likely is, but I don't know of a way off hand. @scottalanmiller or @JaredBusch probably know off of the top of their heads.
-
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 .