Sharing folder between Owncloud and Plex The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraHow do I trigger rsync on file modification?Default file permissions for php user www-dataApache permissions issueI cannot get Plex server to see any directoriesgive a user access rights to a folderRead and write permissions for Owncloud www-dataNFS 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

Would an alien lifeform be able to achieve space travel if lacking in vision?

Fixing different display colors within string

Define a list range inside a list

Can each chord in a progression create its own key?

What do I do when my TA workload is more than expected?

Is this wall load bearing? Blueprints and photos attached

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Can we generate random numbers using irrational numbers like π and e?

Nested ellipses in tikzpicture: Chomsky hierarchy

What was the last x86 CPU that did not have the x87 floating-point unit built in?

What is the padding with red substance inside of steak packaging?

What can I do if neighbor is blocking my solar panels intentionally?

Presidential Pardon

Do warforged have souls?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Huge performance difference of the command find with and without using %M option to show permissions

60's-70's movie: home appliances revolting against the owners

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Is an up-to-date browser secure on an out-of-date OS?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Keeping a retro style to sci-fi spaceships?

Did the new image of black hole confirm the general theory of relativity?

Why are PDP-7-style microprogrammed instructions out of vogue?



Sharing folder between Owncloud and Plex



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow do I trigger rsync on file modification?Default file permissions for php user www-dataApache permissions issueI cannot get Plex server to see any directoriesgive a user access rights to a folderRead and write permissions for Owncloud www-dataNFS 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 2 days ago









                snickers2ksnickers2k

                45759




                45759



























                    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

                    Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                    How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                    Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü