[ubuntu-uk] rsync chgrp problem - advice, please?
Kris Marsh
moogman at gmail.com
Thu Jun 7 11:35:56 BST 2007
On 6/7/07, luxxius <luxxius at googlemail.com> wrote:
> Alan Pope wrote:
> <snip>
> >> rsync: chgrp "/media/USBdisc/Music/." failed: Operation not permitted (1)
> > I must say I am watching this thread with interest. The above messages
> > appear when i rsync my music and podcasts to my mp3 player.
> >
> > The difference is I just ignore it :)
>
> I'm beginning to wished I'd ignored it too! I'd now be glad just to get
> back to square one, with my 3000+ music files accessible again, and only
> worry about the rsync group permissions if I ever have to restore the
> music library from the usb drive. Which is looking increasingly likely!
> :-(
>
> --
> Diana
>
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
Hi Diana,
You should be able to do the following:
- Change the owner of all files in music/ back to yourself:
sudo -Rf chown diana:diana music
- Fix the permissions back to default:
chmod -R 644 music
- Ignore the chgrp error, as it's nothing to worry about. Because the
device's filesystem is not one that can understand the concept of unix
user/groups, the command fails. It's not a problem, as all users
should be able to access these files anyway...
- rsync shouldn't need to synchronise all the files again. It should
just update the permissions/owners as necessary.
- You should now be back where you started, in the knowledge that the
original error is safe to ignore :-)
HTH,
Kris
More information about the ubuntu-uk
mailing list