All pastes #744818 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-21 20:27 UTC
rendered paste body
## Rsync emits 2 "Operation not permitted" errors after starting, 
## then continues without error.   I believe I should have write 
## permissions to the directory by virtue of being in group 'staff'.  

~$ ls -ld /mirror
lrwxrwxrwx 1 root root 10 2007-10-21 20:42 /mirror -> u7/mirror/
~$ cd /u7
/u7$ ls -la
total 28
drwxrwxrwt  4 root root   4096 2007-10-21 20:41 .
drwxr-xr-x 33 root root   4096 2007-10-21 20:42 ..
drwx------  2 root root  16384 2007-06-08 23:05 lost+found
drwxrwxr-x  3 root staff  4096 2007-10-21 21:08 mirror
/u7$ cd mirror/
/u7/mirror$ ls -la
total 12
drwxrwxr-x 3 root staff 4096 2007-10-21 21:08 .
drwxrwxrwt 4 root root  4096 2007-10-21 20:41 ..
drwxrwxr-x 4 root staff 4096 2007-10-21 21:09 debian-cd
/u7/mirror$ groups
bb dialout cdrom floppy audio src video plugdev staff users powerdev ssh-login
/u7/mirror$ cd
$ rsync -avH --delete --delete-after --timeout 7200 --exclude=source/ --exclude='*.iso' --exclude=alpha/ --exclude=arm/ --exclude=hppa/ --exclude=hurd/ --exclude=ia64/ --exclude=m68k/ --exclude=mips/ --exclude=mipsel/ --exclude=powerpc/ --exclude=s390/ --exclude=sh/ --exclude=sparc/ rsync.mirrorservice.org::cdimage.debian.org/debian-cd/ /mirror/debian-cd/
Welcome to the University of Kent's UK Mirror Service

More information can be found at our web site: http://www.mirrorservice.org/
Please send comments or questions to help@mirrorservice.org

Please use rsync.mirrorservice.org for rsync access rather than
ftp.mirrorservice.org.


receiving file list ... done
rsync: failed to set times on "/mirror/debian-cd/.": Operation not permitted (1)
rsync: failed to modify permissions on "/mirror/debian-cd/.": Operation not permitted (1)
./
4.0_r1/amd64/bt-dvd/
4.0_r1/amd64/jigdo-cd/
4.0_r1/amd64/jigdo-dvd/
4.0_r1/amd64/list-cd/
4.0_r1/amd64/list-dvd/
4.0_r1/i386/bt-cd/
4.0_r1/i386/bt-dvd/
4.0_r1/i386/iso-cd/
4.0_r1/i386/iso-dvd/
4.0_r1/i386/jigdo-cd/
4.0_r1/i386/jigdo-cd/debian-40r1-i386-CD-1.template
.
.
.