[Bug 2940] New: Installing in $HOME should not require root privileges

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Dec 7 15:13:06 AEDT 2018


            Bug ID: 2940
           Summary: Installing in $HOME should not require root privileges
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: openssh at blazemonger.com

I tried installing OpenSSH 7.9p1 in my home directory, which be
possible without root privileges. "make install" failed with a
permissions error. This is on Ubuntu 16.04.5 LTS:

$ ./configure --prefix=$HOME/tmp/openssh
$ make
$ make install
/bin/mkdir -p /home/smith/tmp/openssh/bin
/bin/mkdir -p /home/smith/tmp/openssh/sbin
/bin/mkdir -p /home/smith/tmp/openssh/share/man/man1
/bin/mkdir -p /home/smith/tmp/openssh/share/man/man5
/bin/mkdir -p /home/smith/tmp/openssh/share/man/man8
/bin/mkdir -p /home/smith/tmp/openssh/libexec
/bin/mkdir -p -m 0755 /var/empty
/bin/mkdir: cannot create directory ‘/var/empty’: Permission denied
Makefile:330: recipe for target 'install-files' failed
make: *** [install-files] Error 1

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list