A question to rsync....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good evening all,

The saga continues!

If I rsync from my desktop to my laptop, all appears to be well, but if 
I use a script to copy files from desktop to external HDD, the owner & 
group all get changed to 'root'. part of my script follows:

> D=`date +%Y_%m_%d`
> M=/media/Fed_Backups_plus/Fed_Backup/"$echoF11_$(hostname)_$D"/home/Dave
>
> rsync -CavzpA  --exclude Junk --exclude Trash --exclude *.log 
> .thunderbird $M
> rsync -CavzpA  --exclude *~ --exclude *.log WGR* $M
> rsync -CavzpA  --exclude *.log .kde $M
As I understand the man pages on rsync, the -a option should do an 
archive transfer, preserving ownership & permissions (and effectively 
include the -p & -A options -- I added them after the first trial gave 
me the root owner & group).  Anyone any idea why rsync is changing the 
owner????

Also, kwalletmanagerrc throws an "error" each time I try the copy:

> rsync: send_files failed to open 
> "/home/Dave/.kde/share/config/kwalletmanagerrc": Permission denied (13) 

a) several times on startup I get the message "kwalletmanagerrc cannot 
be written to, contact the administrator" Looking at permissions, only 
the owner (root) can read & write it,
b) if I'm trying to make a backup "in case of emergency", do I need to 
backup this file?
c) if yes, how can I make my script "become root" just for this file?

As ever, thanks for any help & guidance,

Dave
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux