/home/<user>/.gvfs causing problems for rsync
Johann Spies
jspies at sun.ac.za
Thu Nov 6 12:53:26 UTC 2008
On Tue, Nov 04, 2008 at 09:05:12PM +1100, Karl Auer wrote:
> On Tue, 2008-11-04 at 11:46 +0200, Johann Spies wrote:
> > Thanks for your answer. Just a pity that it does not make difference here:
>
> Please post the entire command line that is executing rsync. If it's a
> script, please post the whole script. Also, what user is executing this
> script?
This is as it is at the moment.
#!/bin/sh
BESTEMMING="/home/js/werkesel-rugsteun/`date +'%Y%m%d_demensie'`"
ssh js at log "mkdir $BESTEMMING"
rsync -CavrSb --progress --backup-dir=$BESTEMMING --delete \
--delete-excluded --exclude "\.netscape/" --exclude "rugsteun/" \
--exclude "\.cache/" --exclude "cache/" --exclude "\.unison/" \
--exclude "tmp/" --exclude "\.beagle/" --exclude "/home/js/.thumbnails" \
--exclude "/var/spool/" --exclude "Cache/" --exclude "\.Trash/"\
--exclude "- .gvfs/" --exclude "/home/js/\.cache" \
--exclude dev/ --exclude "sys/" --exclude "proc/" --exclude "lost+found/" \
--exclude /media/ / js at log:/home/js/werkesel-rugsteun/demensie/
When I use it with --exclude "/home/js/.gvfs" I get
rsync: readlink "/home/js/.gvfs" failed: Permission denied (13)
Permissions:
dr-x------ 2 js js 0 2008-11-06 08:05 .gvfs/
The script is run as user root.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Let all your things be done with charity."
1 Corinthians 16:14
More information about the ubuntu-users
mailing list