Optimize: Can't Write Files

So this has been asked in various forms but none have worked for me. I thought I’d throw it up here.

Scenario: Centos 7 box connected to Synology NAS via SMB share mounted at /media/Data.

Tried all variations of chown and chmod, no love. I can mess with files all day but plex just wont.

Any thoughts? I know I’m missing something stupid easy but you know how it goes, sometimes you need a second pair of eyes.

you’re on the right track – this is a permissions issue.
you’ll need to make sure that the plex user can read and write in the folders.

you might want to double-check the approach you’re using to mount the drive. If you mount it during bootup using /etc/fstab you might easily end up mounting it for root.

if you want it to work for the plex user as well the example below should help. Also, many of the Linux gurus recommend not to use the /media folder to mount your drives as this is used for removable media so the OS could get in your way:

/etc/fstab
//192.168.178.51/video /plexmedialibrary/video cif auto,defaults,nofail,credentials=[path-to-credentials],uid=plex 0 0

This will mount the SMB network drive at //192.168.178.51/video in your local file system to the folder /plexmedialibrary/video with plex as its owner.

@tom80H Awesome. Thanks. It was that simple.

However, now it shows several files as “unavailable” but did complete one.

Ideas?

Nevermind, minor typo, cifs, not cif. All good. Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.