Sharing folder between Owncloud and Plex The 2019 Stack Overflow Developer Survey Results Are...

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

Why is my p-value correlated to difference between means in two sample tests?

Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?

Why is it "Tumoren" and not "Tumore"?

Does it makes sense to buy a new cycle to learn riding?

It's possible to achieve negative score?

Why isn't airport relocation done gradually?

What is the steepest angle that a canal can be traversable without locks?

If the Wish spell is used to duplicate the effect of Simulacrum, are existing duplicates destroyed?

How to make payment on the internet without leaving a money trail?

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

Can distinct morphisms between curves induce the same morphism on singular cohomology?

Is three citations per paragraph excessive for undergraduate research paper?

Does a dangling wire really electrocute me if I'm standing in water?

How to deal with fear of taking dependencies

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

Is "plugging out" electronic devices an American expression?

"To split hairs" vs "To be pedantic"

How to answer pointed "are you quitting" questioning when I don't want them to suspect

What do the Banks children have against barley water?

How long do I have to send payment?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

How to create dashed lines/arrows in Illustrator

Carnot-Caratheodory metric



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 18 mins 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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...