setting up davfs2 to mount properlyHow to re-mount home partition?Granting a 'normal' user ability to mount a...

How to compact two the parabol commands in the following example?

Extracting sublists that contain similar elements

How are Core iX names like Core i5, i7 related to Haswell, Ivy Bridge?

Does the 500 feet falling cap apply per fall, or per turn?

When a land becomes a creature, is it untapped?

A cryptic tricolour

How can this pool heater gas line be disconnected?

How to select certain lines (n, n+4, n+8, n+12...) from the file?

Usefulness of complex chord names?

How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?

Exclude loop* snap devices from lsblk output?

How to cope with regret and shame about not fully utilizing opportunities during PhD?

How can dragons propel their breath attacks to a long distance

On studying Computer Science vs. Software Engineering to become a proficient coder

Can I use my laptop, which says 100-240V, in the USA?

Python Pandas Expand a Column of List of Lists to Two New Column

Plastic-on-plastic lubricant that wont leave a residue?

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Anatomically Correct Carnivorous Tree

SSD - Disk is OK, one bad sector

Exception propagation: When should I catch exceptions?

Does kinetic energy warp spacetime?

Was there ever any real use for a 6800-based Apple I?

How to get reference to Component from inside an event method



setting up davfs2 to mount properly


How to re-mount home partition?Granting a 'normal' user ability to mount a drive (visudo)How to protect/secure the “sudo” log_input/log_output logs?Automount webdav server on startup with internetDisable davfs2 cachingHow to prevent: `CIFS: Unknown mount option “defaults”`?unable to sign certificate letsencryptnfs-mounted writeable drive: new folders have no permissionsMount --bind in the same filesystem move files as in the same filesystemAllow regular user to use mount without SUDO or FSTAB






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







0















I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created.



I have followed the tutorials online with the only difference being that the tutorials specify to update the /etc/fstab file. But i do not want to do this because i have this set up on my laptop where i only sporadically have access to the internet. I would prefer to use sudo mount.... and have the credential input automaticall from the secrects file (i understand that each time i will need to input my sudo password).



I believe that what is happening is that when i use sudo mount .... it is trying to load the system /etc/davfs2 configuration instead of my local .davfs2. I believe this because when i try to configure the /etc/davfs2 (to point to my secrets file) i get config erorrs. But when i purposefully put errors in the local .davfs2 config file the system never seems to recognise it.



the only other thing i can think to do is allow local users permission to run mount which i would prefer not to do.



What i may be doing wrong?



PS - using Xubuntu










share|improve this question









New contributor



andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created.



    I have followed the tutorials online with the only difference being that the tutorials specify to update the /etc/fstab file. But i do not want to do this because i have this set up on my laptop where i only sporadically have access to the internet. I would prefer to use sudo mount.... and have the credential input automaticall from the secrects file (i understand that each time i will need to input my sudo password).



    I believe that what is happening is that when i use sudo mount .... it is trying to load the system /etc/davfs2 configuration instead of my local .davfs2. I believe this because when i try to configure the /etc/davfs2 (to point to my secrets file) i get config erorrs. But when i purposefully put errors in the local .davfs2 config file the system never seems to recognise it.



    the only other thing i can think to do is allow local users permission to run mount which i would prefer not to do.



    What i may be doing wrong?



    PS - using Xubuntu










    share|improve this question









    New contributor



    andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created.



      I have followed the tutorials online with the only difference being that the tutorials specify to update the /etc/fstab file. But i do not want to do this because i have this set up on my laptop where i only sporadically have access to the internet. I would prefer to use sudo mount.... and have the credential input automaticall from the secrects file (i understand that each time i will need to input my sudo password).



      I believe that what is happening is that when i use sudo mount .... it is trying to load the system /etc/davfs2 configuration instead of my local .davfs2. I believe this because when i try to configure the /etc/davfs2 (to point to my secrets file) i get config erorrs. But when i purposefully put errors in the local .davfs2 config file the system never seems to recognise it.



      the only other thing i can think to do is allow local users permission to run mount which i would prefer not to do.



      What i may be doing wrong?



      PS - using Xubuntu










      share|improve this question









      New contributor



      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created.



      I have followed the tutorials online with the only difference being that the tutorials specify to update the /etc/fstab file. But i do not want to do this because i have this set up on my laptop where i only sporadically have access to the internet. I would prefer to use sudo mount.... and have the credential input automaticall from the secrects file (i understand that each time i will need to input my sudo password).



      I believe that what is happening is that when i use sudo mount .... it is trying to load the system /etc/davfs2 configuration instead of my local .davfs2. I believe this because when i try to configure the /etc/davfs2 (to point to my secrets file) i get config erorrs. But when i purposefully put errors in the local .davfs2 config file the system never seems to recognise it.



      the only other thing i can think to do is allow local users permission to run mount which i would prefer not to do.



      What i may be doing wrong?



      PS - using Xubuntu







      ubuntu mount sudo nextcloud davfs2






      share|improve this question









      New contributor



      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 23 mins ago









      Rui F Ribeiro

      42.7k1486146




      42.7k1486146






      New contributor



      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 16 hours ago









      andrewandrew

      1




      1




      New contributor



      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          If your concern is that your machine isn't always online you can simply use noauto in the fstab entry.



          <URL> <mountpoint> davfs2 credentials=<full path to your cred file>,uid=<your user's UID>,gid=<your group's GID>,noauto  0       0


          This will allow you to mount it with a simple command.



          sudo mount <mountpoint>


          And you can unmount it the same way.



          sudo umount <mountpoint>


          This will only get mounted when you specifically want, and never automatically on boot.






          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
            });


            }
            });






            andrew is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518415%2fsetting-up-davfs2-to-mount-properly%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














            If your concern is that your machine isn't always online you can simply use noauto in the fstab entry.



            <URL> <mountpoint> davfs2 credentials=<full path to your cred file>,uid=<your user's UID>,gid=<your group's GID>,noauto  0       0


            This will allow you to mount it with a simple command.



            sudo mount <mountpoint>


            And you can unmount it the same way.



            sudo umount <mountpoint>


            This will only get mounted when you specifically want, and never automatically on boot.






            share|improve this answer




























              0














              If your concern is that your machine isn't always online you can simply use noauto in the fstab entry.



              <URL> <mountpoint> davfs2 credentials=<full path to your cred file>,uid=<your user's UID>,gid=<your group's GID>,noauto  0       0


              This will allow you to mount it with a simple command.



              sudo mount <mountpoint>


              And you can unmount it the same way.



              sudo umount <mountpoint>


              This will only get mounted when you specifically want, and never automatically on boot.






              share|improve this answer


























                0












                0








                0







                If your concern is that your machine isn't always online you can simply use noauto in the fstab entry.



                <URL> <mountpoint> davfs2 credentials=<full path to your cred file>,uid=<your user's UID>,gid=<your group's GID>,noauto  0       0


                This will allow you to mount it with a simple command.



                sudo mount <mountpoint>


                And you can unmount it the same way.



                sudo umount <mountpoint>


                This will only get mounted when you specifically want, and never automatically on boot.






                share|improve this answer













                If your concern is that your machine isn't always online you can simply use noauto in the fstab entry.



                <URL> <mountpoint> davfs2 credentials=<full path to your cred file>,uid=<your user's UID>,gid=<your group's GID>,noauto  0       0


                This will allow you to mount it with a simple command.



                sudo mount <mountpoint>


                And you can unmount it the same way.



                sudo umount <mountpoint>


                This will only get mounted when you specifically want, and never automatically on boot.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 16 hours ago









                bahuabahua

                112




                112






















                    andrew is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    andrew is a new contributor. Be nice, and check out our Code of Conduct.













                    andrew is a new contributor. Be nice, and check out our Code of Conduct.












                    andrew is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f518415%2fsetting-up-davfs2-to-mount-properly%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...