RW filesystem overlay with UnionFS

July 2011


MeVisLab needs rw-access on its installation dirs for all of its users. This is a ridiculous demand of course, but we can work around it:

unionfs-fuse -o cow -o uid=${UID} -o gid=${UID} ~/write-overlay-for-MeVisLab=RW:/opt/netapps/MeVisLab=RO ~/MeVisLab

[Note]Note

It says gid=${UID} because $GID is not set but UID=GID in my case.

[Note]Note

Of course this only works if MeVisLab thinks it was installed in ~/MeVisLab in the first place.