chiark / gitweb /
ubuntu-daily: explicitly mount ro
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 10 Oct 2011 11:05:08 +0000 (12:05 +0100)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 10 Oct 2011 11:05:08 +0000 (12:05 +0100)
ubuntu-daily

index 9322569..fed9db2 100755 (executable)
@@ -119,7 +119,7 @@ else
                EXISTING=:
                mv "$LOCAL.iso" "$LOCAL.iso.old"
                mkdir -p "old-$2"
-               sudo mount -o loop "$LOCAL.iso.old" "old-$2"
+               sudo mount -o loop,ro "$LOCAL.iso.old" "old-$2"
        fi
        ionice -c2 -n7 jigdo-lite "$LOCAL.jigdo"
        if $EXISTING; then