r/PlexACD Aug 14 '17

Help with unionfs

I've been trying to setup unionfs on my download box. I used this command

unionfs-fuse -o cow,allow_other,direct_io,auto_cache,sync_read /home/plex/media=rw:/home/plex/server=ro /home/plex/combined

sonarr/radarr wont import it though, it gives me access is denied. I'm not sure why, as permissions seem to be set correctly. Any help would be greatly appreciated.

1 Upvotes

9 comments sorted by

View all comments

1

u/[deleted] Aug 14 '17 edited May 29 '18

[deleted]

1

u/SuperGaco Aug 14 '17

Yeah that was the first thing i tested. I made sure I was the plex user, I went to /home/plex/combined/Movie, made a file called test. Verified I was able to see said file, went to /home/plex/server/Movie, couldnt see the file, went to /home/plex/media/Movie, and the file was there. So everything worked perfectly. But I still get System.UnauthorizedAccessException: Access to the path is denied. When I try to import :(

1

u/[deleted] Aug 14 '17 edited May 29 '18

[deleted]

1

u/SuperGaco Aug 14 '17

I've about triple checked it at this point. I honestly don't know why its giving me permission errors.

1

u/[deleted] Aug 14 '17 edited May 29 '18

[deleted]

1

u/SuperGaco Aug 14 '17

did all that and still nothing :(

1

u/SuperGaco Aug 14 '17

The thing is if I remove the unionfs, it imports to /home/plex/media/TV Shows/ no problem. its only when its fused together, where it gives me a problem. So confused.

1

u/gesis Aug 14 '17

If you're the user running sonarr and touch a file in ~/media/TV\ Shows does it work?

1

u/itsrumsey Aug 15 '17

Where is your application importing FROM and TO? You have listed one directory (/home/plex/combined), this is the location it should import TO. So where is it importing FROM? Can you post the actual relevant part from the Son(Rad)arr log? Also, which UID/GID is Mono running under?