Front page

Fwd: Re: does obnam change file system permissions?

ee0b0dce69ba44e4a1d289a2953f08d0
TYCOON ARMISTICE ANCIENT

From: Christian Hoefer <ch.hoefer@gmx.de>
Date: Fri, 15 Jul 2016 08:16:32 +0200

   I did try some more:
   
   the crash shown in the last log left lock files behind. this time obnam
   lock-force could not remove them. But I could. I don't understand.
   
   choefer@blackbox ~ $ obnam force-lock
   ERROR: /media/choefer/WD Passport/choefer_obnam_repo/chunksums/lock:
   Read-only file system
   choefer@blackbox ~ $
   choefer@blackbox ~ $ ls -la /media/choefer/WD\
   Passport/choefer_obnam_repo/chunksums/
   insgesamt 256
   drwx------ 6 choefer choefer 32768 Jul 14 20:30 .
   drwx------ 8 choefer choefer 32768 Jul 14 20:30 ..
   drwx------ 2 choefer choefer 32768 Jul 13 13:27 delete
   -rw-r--r-- 1 choefer choefer   107 Jul 14 20:30 lock
   -rw-r--r-- 1 choefer choefer    88 Jun  9 08:56 metadata
   drwx------ 2 choefer choefer 32768 Jul 13 13:27 new
   drwx------ 3 choefer choefer 32768 Mär 27 13:40 nodes
   drwx------ 2 choefer choefer 32768 Mär 27 13:40 refcounts
   choefer@blackbox ~ $
   choefer@blackbox ~ $ rm /media/choefer/WD\
   Passport/choefer_obnam_repo/chunksums/lock
   choefer@blackbox ~ $ ls -la /media/choefer/WD\
   Passport/choefer_obnam_repo/chunksums/
   insgesamt 224
   drwx------ 6 choefer choefer 32768 Jul 14 22:01 .
   drwx------ 8 choefer choefer 32768 Jul 14 20:30 ..
   drwx------ 2 choefer choefer 32768 Jul 13 13:27 delete
   -rw-r--r-- 1 choefer choefer    88 Jun  9 08:56 metadata
   drwx------ 2 choefer choefer 32768 Jul 13 13:27 new
   drwx------ 3 choefer choefer 32768 Mär 27 13:40 nodes
   drwx------ 2 choefer choefer 32768 Mär 27 13:40 refcounts
   choefer@blackbox ~ $
   
   Am 14.07.2016 um 19:12 schrieb Lars Wirzenius:
   > On Thu, Jul 14, 2016 at 03:03:05PM +0200, Christian Hoefer wrote:
   >> The file modes and umask lock as usual. I can delete the remaining lock
   >> files manually. But the problem persists with the next run.
   >> Can anyone help?
   >
   > In the log file snippet you posted, there was nothing to indicate this
   > is due to Obnam changing file permissions. My guess is the problem is
   > that the previous run of Obnam crashes for some reason and leaves a
   > lock file behind. Do you have a log file from a previous run?
   >
   
   
   
   _______________________________________________
   obnam-support mailing list
   obnam-support@obnam.org
   http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-support-obnam.org