Sharing folder between Owncloud and Plex The 2019 Stack Overflow Developer Survey Results Are InHow do I trigger rsync on file modification?Apache permissions issueI cannot get Plex server to see any directoriesgive a user access rights to a folderRead and write permissions for Owncloud www-dataLinux restrict user to specific folder in var/wwwNFS Share Permissions between WDMyCloud / RaspberryPi with OwnCloudOwnCloud: Permission denied for www-data on mounted drivePlex won't list my home folder, yet I tried everythingStruggling with file/samba/www-data permissionsSecuring my web service with apache ubuntu

Is three citations per paragraph excessive for undergraduate research paper?

Should I write numbers in words or as numerals when there are multiple next to each other?

How to deal with fear of taking dependencies

What does "sndry explns" mean in one of the Hitchhiker's guide books?

Is flight data recorder erased after every flight?

Is bread bad for ducks?

What are my rights when I have a Sparpreis ticket but can't board an overcrowded train?

The difference between dialogue marks

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

What is the use of option -o in the useradd command?

How to change the limits of integration

Is there a name of the flying bionic bird?

Are USB sockets on wall outlets live all the time, even when the switch is off?

Are there any other methods to apply to solving simultaneous equations?

How to reverse every other sublist of a list?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

What tool would a Roman-age civilization have to grind silver and other metals into dust?

Why can Shazam do this?

Inversion Puzzle

"What time...?" or "At what time...?" - what is more grammatically correct?

aging parents with no investments



Sharing folder between Owncloud and Plex



The 2019 Stack Overflow Developer Survey Results Are InHow do I trigger rsync on file modification?Apache permissions issueI cannot get Plex server to see any directoriesgive a user access rights to a folderRead and write permissions for Owncloud www-dataLinux restrict user to specific folder in var/wwwNFS Share Permissions between WDMyCloud / RaspberryPi with OwnCloudOwnCloud: Permission denied for www-data on mounted drivePlex won't list my home folder, yet I tried everythingStruggling with file/samba/www-data permissionsSecuring my web service with apache ubuntu



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have a working owncloud and plex installation. Now I want to have a shared folder between these two.
I have created a folder /Music and have added it as external storage in owncloud and as library in plex.



My problem is that I cant set the permissions on the folder to get both working.
Owncloud uses the user www-data and plex uses the user plex.
If I set chown -R www-data:www-data /Music only Owncloud can read and write files. If I set chown -R plex:plex /Music only Plex can read and write files.



But now I have added the user plex to the group www-data with usermod -a -G www-data plex and groups plex gives me plex: plex plugdev www-data
Then I changed the permission with chmod -R 775 /Music



But Plex cant access the folder on the webapp. If I type sudo -u plex touch /Music/newfile it works. But the webapp only works if I set the owner and group of the folder to plex. I have tried to add the www-data user to the group plex but than owncloud cant access the folder. Owncloud seems to work only if the user and group is set to www-data.










share|improve this question




























    1















    I have a working owncloud and plex installation. Now I want to have a shared folder between these two.
    I have created a folder /Music and have added it as external storage in owncloud and as library in plex.



    My problem is that I cant set the permissions on the folder to get both working.
    Owncloud uses the user www-data and plex uses the user plex.
    If I set chown -R www-data:www-data /Music only Owncloud can read and write files. If I set chown -R plex:plex /Music only Plex can read and write files.



    But now I have added the user plex to the group www-data with usermod -a -G www-data plex and groups plex gives me plex: plex plugdev www-data
    Then I changed the permission with chmod -R 775 /Music



    But Plex cant access the folder on the webapp. If I type sudo -u plex touch /Music/newfile it works. But the webapp only works if I set the owner and group of the folder to plex. I have tried to add the www-data user to the group plex but than owncloud cant access the folder. Owncloud seems to work only if the user and group is set to www-data.










    share|improve this question
























      1












      1








      1








      I have a working owncloud and plex installation. Now I want to have a shared folder between these two.
      I have created a folder /Music and have added it as external storage in owncloud and as library in plex.



      My problem is that I cant set the permissions on the folder to get both working.
      Owncloud uses the user www-data and plex uses the user plex.
      If I set chown -R www-data:www-data /Music only Owncloud can read and write files. If I set chown -R plex:plex /Music only Plex can read and write files.



      But now I have added the user plex to the group www-data with usermod -a -G www-data plex and groups plex gives me plex: plex plugdev www-data
      Then I changed the permission with chmod -R 775 /Music



      But Plex cant access the folder on the webapp. If I type sudo -u plex touch /Music/newfile it works. But the webapp only works if I set the owner and group of the folder to plex. I have tried to add the www-data user to the group plex but than owncloud cant access the folder. Owncloud seems to work only if the user and group is set to www-data.










      share|improve this question














      I have a working owncloud and plex installation. Now I want to have a shared folder between these two.
      I have created a folder /Music and have added it as external storage in owncloud and as library in plex.



      My problem is that I cant set the permissions on the folder to get both working.
      Owncloud uses the user www-data and plex uses the user plex.
      If I set chown -R www-data:www-data /Music only Owncloud can read and write files. If I set chown -R plex:plex /Music only Plex can read and write files.



      But now I have added the user plex to the group www-data with usermod -a -G www-data plex and groups plex gives me plex: plex plugdev www-data
      Then I changed the permission with chmod -R 775 /Music



      But Plex cant access the folder on the webapp. If I type sudo -u plex touch /Music/newfile it works. But the webapp only works if I set the owner and group of the folder to plex. I have tried to add the www-data user to the group plex but than owncloud cant access the folder. Owncloud seems to work only if the user and group is set to www-data.







      permissions plex owncloud-server






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 25 '16 at 23:09









      user1058712user1058712

      62




      62




















          1 Answer
          1






          active

          oldest

          votes


















          0














          It's ACL permissions..



          for example:



          setfacl g:plex:rwx /path/
          setfacl g:www-data:rwx /path/





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f762790%2fsharing-folder-between-owncloud-and-plex%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            It's ACL permissions..



            for example:



            setfacl g:plex:rwx /path/
            setfacl g:www-data:rwx /path/





            share|improve this answer



























              0














              It's ACL permissions..



              for example:



              setfacl g:plex:rwx /path/
              setfacl g:www-data:rwx /path/





              share|improve this answer

























                0












                0








                0







                It's ACL permissions..



                for example:



                setfacl g:plex:rwx /path/
                setfacl g:www-data:rwx /path/





                share|improve this answer













                It's ACL permissions..



                for example:



                setfacl g:plex:rwx /path/
                setfacl g:www-data:rwx /path/






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 1 hour ago









                snickers2ksnickers2k

                45259




                45259



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f762790%2fsharing-folder-between-owncloud-and-plex%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»