Is pCloudDrive really inaccessible to root?












2















pCloud is a cloud storage service that allows Linux users to mount their cloud storage inside of their home directory, appearing as:



/home/username/pCloudDrive/


As far as I can tell, the pCloudDrive directory is only accessible by the user and not by root.



Running ls -l inside the home directory (as root) displays:



d????????? ? ?    ?       ?            ? pCloudDrive


and in pcmanfm (as root), pCloudDrive is described as "inode/x-corrupted type".



From my experience with Linux, root should be able to access everything, because every other file and directory belongs to it.



What I would like to know is:




  • How is pCloudDrive's true nature being occluded?

  • Is there a way to access the pCloudDrive directory and contents as root?










share|improve this question



























    2















    pCloud is a cloud storage service that allows Linux users to mount their cloud storage inside of their home directory, appearing as:



    /home/username/pCloudDrive/


    As far as I can tell, the pCloudDrive directory is only accessible by the user and not by root.



    Running ls -l inside the home directory (as root) displays:



    d????????? ? ?    ?       ?            ? pCloudDrive


    and in pcmanfm (as root), pCloudDrive is described as "inode/x-corrupted type".



    From my experience with Linux, root should be able to access everything, because every other file and directory belongs to it.



    What I would like to know is:




    • How is pCloudDrive's true nature being occluded?

    • Is there a way to access the pCloudDrive directory and contents as root?










    share|improve this question

























      2












      2








      2








      pCloud is a cloud storage service that allows Linux users to mount their cloud storage inside of their home directory, appearing as:



      /home/username/pCloudDrive/


      As far as I can tell, the pCloudDrive directory is only accessible by the user and not by root.



      Running ls -l inside the home directory (as root) displays:



      d????????? ? ?    ?       ?            ? pCloudDrive


      and in pcmanfm (as root), pCloudDrive is described as "inode/x-corrupted type".



      From my experience with Linux, root should be able to access everything, because every other file and directory belongs to it.



      What I would like to know is:




      • How is pCloudDrive's true nature being occluded?

      • Is there a way to access the pCloudDrive directory and contents as root?










      share|improve this question














      pCloud is a cloud storage service that allows Linux users to mount their cloud storage inside of their home directory, appearing as:



      /home/username/pCloudDrive/


      As far as I can tell, the pCloudDrive directory is only accessible by the user and not by root.



      Running ls -l inside the home directory (as root) displays:



      d????????? ? ?    ?       ?            ? pCloudDrive


      and in pcmanfm (as root), pCloudDrive is described as "inode/x-corrupted type".



      From my experience with Linux, root should be able to access everything, because every other file and directory belongs to it.



      What I would like to know is:




      • How is pCloudDrive's true nature being occluded?

      • Is there a way to access the pCloudDrive directory and contents as root?







      permissions directory inode cloud






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 23 '18 at 17:06









      user271055user271055

      133




      133






















          1 Answer
          1






          active

          oldest

          votes


















          2














          I have no direct experience with it, but it looks like pCloud is mounted as a FUSE file system. A FUSE file system is not accessible by root by design. The aim is to prevent mounted file systems from doing nasty things (see an explanation in libfuse's FAQ).



          To let root, or other users, access a FUSE file system, you have to mount it with the options -o allow_root or -o allow_others. You need also to uncomment/add user_allow_other in /etc/fuse.conf, otherwise your user will not be able to set the aforementioned options.



          Your experience may be the same of many other users, puzzled by an apparently non-intuitive behavior. See, as an example, this question on serverfault.



          Of course, since pCloud appears not to be open source, there might actually be no allowed nor easy ways to change how it mounts its volume.



          Obviously, root can access a FUSE file system given that it can impersonate other users. For instance:



          # sudo -u your_user ls /home/your_user/fuse_mount_point


          (executed as root) should just work.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f477321%2fis-pclouddrive-really-inaccessible-to-root%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









            2














            I have no direct experience with it, but it looks like pCloud is mounted as a FUSE file system. A FUSE file system is not accessible by root by design. The aim is to prevent mounted file systems from doing nasty things (see an explanation in libfuse's FAQ).



            To let root, or other users, access a FUSE file system, you have to mount it with the options -o allow_root or -o allow_others. You need also to uncomment/add user_allow_other in /etc/fuse.conf, otherwise your user will not be able to set the aforementioned options.



            Your experience may be the same of many other users, puzzled by an apparently non-intuitive behavior. See, as an example, this question on serverfault.



            Of course, since pCloud appears not to be open source, there might actually be no allowed nor easy ways to change how it mounts its volume.



            Obviously, root can access a FUSE file system given that it can impersonate other users. For instance:



            # sudo -u your_user ls /home/your_user/fuse_mount_point


            (executed as root) should just work.






            share|improve this answer






























              2














              I have no direct experience with it, but it looks like pCloud is mounted as a FUSE file system. A FUSE file system is not accessible by root by design. The aim is to prevent mounted file systems from doing nasty things (see an explanation in libfuse's FAQ).



              To let root, or other users, access a FUSE file system, you have to mount it with the options -o allow_root or -o allow_others. You need also to uncomment/add user_allow_other in /etc/fuse.conf, otherwise your user will not be able to set the aforementioned options.



              Your experience may be the same of many other users, puzzled by an apparently non-intuitive behavior. See, as an example, this question on serverfault.



              Of course, since pCloud appears not to be open source, there might actually be no allowed nor easy ways to change how it mounts its volume.



              Obviously, root can access a FUSE file system given that it can impersonate other users. For instance:



              # sudo -u your_user ls /home/your_user/fuse_mount_point


              (executed as root) should just work.






              share|improve this answer




























                2












                2








                2







                I have no direct experience with it, but it looks like pCloud is mounted as a FUSE file system. A FUSE file system is not accessible by root by design. The aim is to prevent mounted file systems from doing nasty things (see an explanation in libfuse's FAQ).



                To let root, or other users, access a FUSE file system, you have to mount it with the options -o allow_root or -o allow_others. You need also to uncomment/add user_allow_other in /etc/fuse.conf, otherwise your user will not be able to set the aforementioned options.



                Your experience may be the same of many other users, puzzled by an apparently non-intuitive behavior. See, as an example, this question on serverfault.



                Of course, since pCloud appears not to be open source, there might actually be no allowed nor easy ways to change how it mounts its volume.



                Obviously, root can access a FUSE file system given that it can impersonate other users. For instance:



                # sudo -u your_user ls /home/your_user/fuse_mount_point


                (executed as root) should just work.






                share|improve this answer















                I have no direct experience with it, but it looks like pCloud is mounted as a FUSE file system. A FUSE file system is not accessible by root by design. The aim is to prevent mounted file systems from doing nasty things (see an explanation in libfuse's FAQ).



                To let root, or other users, access a FUSE file system, you have to mount it with the options -o allow_root or -o allow_others. You need also to uncomment/add user_allow_other in /etc/fuse.conf, otherwise your user will not be able to set the aforementioned options.



                Your experience may be the same of many other users, puzzled by an apparently non-intuitive behavior. See, as an example, this question on serverfault.



                Of course, since pCloud appears not to be open source, there might actually be no allowed nor easy ways to change how it mounts its volume.



                Obviously, root can access a FUSE file system given that it can impersonate other users. For instance:



                # sudo -u your_user ls /home/your_user/fuse_mount_point


                (executed as root) should just work.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 3 at 20:44

























                answered Oct 23 '18 at 17:51









                fra-sanfra-san

                1,8771620




                1,8771620






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f477321%2fis-pclouddrive-really-inaccessible-to-root%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

                    How to make a Squid Proxy server?

                    第一次世界大戦

                    Touch on Surface Book