Why mount filesystems with noexec?

  • I had an issue with Docker plex not transcoding. After working with Plex Employee gbooker02 we found that the filesystem was mounted with noexec. This was preventing the docker plex transcoder from being able to transcode.


    I went into /etc/fstab and removed noexec and added exec. After a reboot i was able to transcode in my docker plex.


    Out of curiosity why does have noexec for filesystems? Is there a better way i should have modified the file system mounting options other than in /etc/fstab?


    below is my /etc/fstab and you can see i modified line 6 to be exec.


    Here is the plex forum link: http://forums.plex.tv/discussion/comment/1386325

    Code
    # >>> [openmediavault]
    UUID=6a3f1192-d35c-4c6c-8bd7-7027ad11d3ff /media/6a3f1192-d35c-4c6c-8bd7-7027ad11d3ff ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    UUID=85abc43f-81e6-4cb6-9d90-ca24c253c15c /media/85abc43f-81e6-4cb6-9d90-ca24c253c15c ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    UUID=f0f3379d-5651-495a-9cc0-2df8d4667ff7 /media/f0f3379d-5651-495a-9cc0-2df8d4667ff7 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    UUID=5098254d-36af-433d-88b1-844c8c8fff97 /media/5098254d-36af-433d-88b1-844c8c8fff97 ext4 defaults,nofail,user_xattr,exec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2
    /media/6a3f1192-d35c-4c6c-8bd7-7027ad11d3ff:/media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:/media/f0f3379d-5651-495a-9cc0-2df8d4667ff7 /media/e7fa93b0-b2a0-4b12-94f1-4d7d4359302a fuse.mergerfs defaults,allow_other,direct_io,use_ino,category.create=epmfs,minfreespace=100G 0 0
    /media/e7fa93b0-b2a0-4b12-94f1-4d7d4359302a/poolshare /export/poolshare none bind,nofail 0 0
    # <<< [openmediavault]
  • Saw the same question some weeks ago. Security reasons if I remember correctly.

    OMV 4 - Ryzen 7 1700 (8 Cores / 16 Threads 65W TDP) - 32 GB DDR4 ECC
    128 GB OS SSD - 256 GB Plex SSD - 32 TB RAIDZ2 (6x8TB HGST NAS)

  • I should have said Plex in docker**


    The plex plugin works fine, but i moved all my stuff to docker to keep the OMV OS a pure is it can be + plex in docker automatically upgrades to latest plex pass version upon restarting the docker image (if you pay for plex pass).


    I think /var/lib/plexmediaserver is on the boot directory and that allows exec.


    I moved the entire config folder to another drive and that's when i started having my problems.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!