Why do I need sudo
to run apt-mirror
? Is there a way to run apt-mirror
without sudo
?
1 Answer
apt-mirror
uses port 21 [courtesy of ProFTPd] (all ports below 1024 require root), and stores information in /etc
, /var
, or /opt
. As none of these locations are user-writable, sudo
is required.
You may be able to get away by making apt-mirror
store to a place you have write-access to, such as /home/$USER/.local-repo
. sudo
will still be needed to install programs from your mirror, though.
ProFTPd runs as a daemon, so you won't need to worry about that.
apt-mirror
does that requires admin rights? I just want to download a copy of the repository to my local PC. Why is that an administrator's task? I understand that installing something from that repository requiressudo
, but just making a copy of the files shouldn't require admin.