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

How can I fairly adjudicate the effects of height differences on ranged attacks?

How to back up a running Linode server?

What are the spoon bit of a spoon and fork bit of a fork called?

Is Cola "probably the best-known" Latin word in the world? If not, which might it be?

What was the state of the German rail system in 1944?

Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?

Visa for volunteering in England

Was Hulk present at this event?

Does the Darkness spell dispel the Color Spray and Flaming Sphere spells?

When and why did journal article titles become descriptive, rather than creatively allusive?

Why is Arya visibly scared in the library in S8E3?

Conflicting terms and the definition of a «child»

Packet sniffer for MacOS Mojave and above

Power LED from 3.3V Power Pin without Resistor

CRT Oscilloscope - part of the plot is missing

Short story about people living in a different time streams

LT Spice Voltage Output

Feels like I am getting dragged into office politics

Can fracking help reduce CO2?

What is the most remote airport from the center of the city it supposedly serves?

How did Arya manage to disguise herself?

Topological Spaces homeomorphic

Binary Numbers Magic Trick

I’ve officially counted to infinity!



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







5















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































    5















    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



























      5












      5








      5








      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 3 hours ago









      Kevin

      28.1k1066103




      28.1k1066103










      asked 5 hours ago









      jiwopenejiwopene

      16718




      16718






















          1 Answer
          1






          active

          oldest

          votes


















          5














          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









            5














            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






























              5














              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




























                5












                5








                5







                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 3 hours ago

























                answered 5 hours ago









                kemotepkemotep

                2,8683924




                2,8683924






























                    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

                    Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

                    How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

                    Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...