[Ubuntu-phone] Can we make renames work?

Oliver Grawert ogra at ubuntu.com
Wed May 20 15:22:45 UTC 2015


hi,
Am Mittwoch, den 20.05.2015, 17:04 +0200 schrieb Martin Pitt:

> TBH, the only clean way that I see is to flip the whole thing around.
> Keep /etc (and /var) writable, and instead deal with the things that
> should *not* be modified. I. e. ship them in e. g. /usr/etc/ and
> symlink/bind-mount them to /etc, or longer-term, get rid of them
> completely. IMHO this would be a much saner architecture than trying
> to play eternal catch-up with bugs like this and getting an
> ever-growing spaghetti heap of file bind mounts which we'll never be
> able to revert/change.
> 
given the majority (90%) of files in these dirs is *not* writeable
today, you would prefer to maintain this majority with a hack instead of
the 30 (or so) writeable files we have in the list today ? even if that
triples up that#s still a lot less maintenance than having to maintain
all the non-writeable bits manually ...

couldn't we do something with ACLs here ... leave the dirs writeable,
apply a read only ACL setup to all files with a small set of
exceptions ?

ciao
	oli




More information about the snappy-devel mailing list