Why debootstrap can only run as root?Debootstrap for Backbox Error with release fileCan you pin a particular...

Password expiration with Password manager

What happened to Rhaegal?

Airbnb - host wants to reduce rooms, can we get refund?

I caught several of my students plagiarizing. Could it be my fault as a teacher?

How to get SEEK accessing converted ID via view

Does hiding behind 5-ft-wide cover give full cover?

I lost my Irish passport. Can I travel to Thailand and back from the UK using my US passport?

Pigeonhole Principle Problem

Does the time required to copy a spell into a spellbook have to be consecutive, or is that just the cumulative time required?

Public Salesforce Site and Security Review

Visa for volunteering in England

If I supply 24v to a 50v rated 22000uf electrolytic capacitor, does that mean it will store 44000uf at 24v?

How did Arya manage to disguise herself?

Why is Arya visibly scared in the library in S8E3?

Entropy as a function of temperature: is temperature well defined?

Why debootstrap can only run as root?

Why do computer-science majors learn calculus?

The barbers paradox first order logic formalization

Geometry - Proving a common centroid.

Hang 20lb projector screen on Hardieplank

How long can a 35mm film be used/stored before it starts to lose its quality after expiry?

Historically, were women trained for obligatory wars? Or did they serve some other military function?

How to efficiently calculate prefix sum of frequencies of characters in a string?

How can I close a gap between my fence and my neighbor's that's on his side of the property line?



Why debootstrap can only run as root?


Debootstrap for Backbox Error with release fileCan you pin a particular version of a chroot?Initramfs in debootstrap chroot of fully encrypted systemDebootstrap debian into root with SW RAID1Unable to execute redirection in chroot environmentHow Can I Run debootstrap Offline?How to create a Debian sid chroot from Arch Linux?Trouble with an unprivilaged users in a chroot under Debianusing debootstrap to create rootfs offlineFilesystem permission problems with user namespaces and debootstrap






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







4















I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says:



E: debootstrap can only run as root


Why can't debootstrap be run without root permissions?










share|improve this question































    4















    I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says:



    E: debootstrap can only run as root


    Why can't debootstrap be run without root permissions?










    share|improve this question



























      4












      4








      4








      I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says:



      E: debootstrap can only run as root


      Why can't debootstrap be run without root permissions?










      share|improve this question
















      I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says:



      E: debootstrap can only run as root


      Why can't debootstrap be run without root permissions?







      debian not-root-user debian-installer debootstrap






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Kevin

      28.1k1066103




      28.1k1066103










      asked 3 hours ago









      jiwopenejiwopene

      16218




      16218






















          1 Answer
          1






          active

          oldest

          votes


















          4














          You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.



          If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages without root privileges. An example in your case would be something along the lines of this:



          debootstrap --variant=fakechroot stable ./dir $debian_ftp


          Please read the Wiki for more information on how to use debootstrap.






          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%2f516229%2fwhy-debootstrap-can-only-run-as-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









            4














            You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.



            If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages without root privileges. An example in your case would be something along the lines of this:



            debootstrap --variant=fakechroot stable ./dir $debian_ftp


            Please read the Wiki for more information on how to use debootstrap.






            share|improve this answer






























              4














              You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.



              If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages without root privileges. An example in your case would be something along the lines of this:



              debootstrap --variant=fakechroot stable ./dir $debian_ftp


              Please read the Wiki for more information on how to use debootstrap.






              share|improve this answer




























                4












                4








                4







                You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.



                If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages without root privileges. An example in your case would be something along the lines of this:



                debootstrap --variant=fakechroot stable ./dir $debian_ftp


                Please read the Wiki for more information on how to use debootstrap.






                share|improve this answer















                You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.



                If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages without root privileges. An example in your case would be something along the lines of this:



                debootstrap --variant=fakechroot stable ./dir $debian_ftp


                Please read the Wiki for more information on how to use debootstrap.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 34 mins ago

























                answered 2 hours ago









                kemotepkemotep

                2,8583924




                2,8583924






























                    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%2f516229%2fwhy-debootstrap-can-only-run-as-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

                    What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...

                    Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

                    Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...