How to union mount with enable delete?


Recommended Posts

I want to transparently overlaid multiple folders. Eg. I have multiple movie folders named Movie1, Movie2 and Movie3. I want to unite all those movie folder into a folder named Movie. I also want to be able to delete file in Movie.

 

Here are the command that I used.

 

unionfs -o cow -o allow_other -o uid=99 -o gid=100 \
/mnt/user/Movie1/\
:/mnt/user/Movie2/\
:/mnt/user/Movie3/\
 \
/mnt/user/Movie/

 

While the command successfully overlaid those folders, I cant delete files/folders from Movie folder.

 

What is the correct command to overlaid folders and be able to delete files/folder?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.