How to give a Flatpak app access to a directory











up vote
0
down vote

favorite












I installed Elisa music player from Flathub, but it refuses to see my Music partition, so I can't add any music to it's library unless I copy it to /home/my_user/.



Is there a way to give a Flatpak application permission to access non canonical addresses?



Aside from specifying it when compiling it...










share|improve this question


























    up vote
    0
    down vote

    favorite












    I installed Elisa music player from Flathub, but it refuses to see my Music partition, so I can't add any music to it's library unless I copy it to /home/my_user/.



    Is there a way to give a Flatpak application permission to access non canonical addresses?



    Aside from specifying it when compiling it...










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I installed Elisa music player from Flathub, but it refuses to see my Music partition, so I can't add any music to it's library unless I copy it to /home/my_user/.



      Is there a way to give a Flatpak application permission to access non canonical addresses?



      Aside from specifying it when compiling it...










      share|improve this question













      I installed Elisa music player from Flathub, but it refuses to see my Music partition, so I can't add any music to it's library unless I copy it to /home/my_user/.



      Is there a way to give a Flatpak application permission to access non canonical addresses?



      Aside from specifying it when compiling it...







      permissions flatpak






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 23 at 20:43









      eridani

      330215




      330215






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You can do this via the command line. The specific command you need is (it may need to be run as sudo):



          flatpak override <package_name_here> --filesystem=<path_here>



          If you have an odd path & it complains about an "unexpected filesystem suffix", just put the path part in quotes.



          A more complete list of permissions commands is found here - http://docs.flatpak.org/en/latest/sandbox-permissions.html






          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',
            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%2f1086529%2fhow-to-give-a-flatpak-app-access-to-a-directory%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








            up vote
            0
            down vote













            You can do this via the command line. The specific command you need is (it may need to be run as sudo):



            flatpak override <package_name_here> --filesystem=<path_here>



            If you have an odd path & it complains about an "unexpected filesystem suffix", just put the path part in quotes.



            A more complete list of permissions commands is found here - http://docs.flatpak.org/en/latest/sandbox-permissions.html






            share|improve this answer

























              up vote
              0
              down vote













              You can do this via the command line. The specific command you need is (it may need to be run as sudo):



              flatpak override <package_name_here> --filesystem=<path_here>



              If you have an odd path & it complains about an "unexpected filesystem suffix", just put the path part in quotes.



              A more complete list of permissions commands is found here - http://docs.flatpak.org/en/latest/sandbox-permissions.html






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                You can do this via the command line. The specific command you need is (it may need to be run as sudo):



                flatpak override <package_name_here> --filesystem=<path_here>



                If you have an odd path & it complains about an "unexpected filesystem suffix", just put the path part in quotes.



                A more complete list of permissions commands is found here - http://docs.flatpak.org/en/latest/sandbox-permissions.html






                share|improve this answer












                You can do this via the command line. The specific command you need is (it may need to be run as sudo):



                flatpak override <package_name_here> --filesystem=<path_here>



                If you have an odd path & it complains about an "unexpected filesystem suffix", just put the path part in quotes.



                A more complete list of permissions commands is found here - http://docs.flatpak.org/en/latest/sandbox-permissions.html







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 21 at 19:03









                Pockets

                468




                468






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1086529%2fhow-to-give-a-flatpak-app-access-to-a-directory%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

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei