rsync question

Patton Echols p.echols at comcast.net
Fri Jun 19 07:19:06 UTC 2009


On Thu, 2009-06-18 at 22:02 -0700, Patton Echols wrote:

> > patton at Mycroft:~$ rsync -av ~/foo/ /media/disk/foo
> > 
> > which returns in part the following:
> > ". . .
> > rsync: chgrp "/media/disk/foo/Membership" failed: Operation not 
> > permitted (1)
> > rsync: chgrp "/media/disk/foo/Officials" failed: Operation not permitted (1)
> > rsync: chgrp "/media/disk/foo/strategic-plan" failed: Operation not 
> > permitted (1)

On 06/18/2009 10:10 PM, Daniel.Li wrote:
> See below error. Check your backup permissions.
>
> "Operation not permitted"
>   
Ok, well per the man page, the -a switch includes "preserve group"  
Which I presume is why the "chgrp" operation is attempted.  Trying "sudo 
rsync . . ." gives the same result. 

Checking the thumb drive file system, each file and directory is 
owner=patton group=root.  So attempt to change group  with:

"sudo chgrp -R patton * returns the error:
"chown: changing ownership of `foo': Operation not permitted
. . ."

Message repeats for every file.  Same result for sudo chown.

Is there something about the way that thumb drives automatically mount 
that prevent me from changing ownership or group?

(Actually, as i type that rings a bit of a bell, I'll try googling, but 
if anyone recalls an solution at fingertips . . . )


Thanks









More information about the ubuntu-users mailing list