You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally discovered when running manala.aptly ansible role on a fresh Debian Buster server (issue link), I get permission denied error creating $HOME dir. Details:
the system is a Debian Buster (10.5)
aptly was installed using debian apt, package version is: 1.3.0+ds1-2.2~deb10u1
ansible user is a normal user but is passwordless sudoer
aptly user exists and home dir /home/aptly exists (see other user env below)
ansible@aptly:~$ su aptly -c "aptly repo list --raw"
Password:
ERROR: mkdir $HOME: permission denied
ansible@aptly:~$
Also, it appears that a dir named "$HOME" was created in /home/aptly:
Originally discovered when running manala.aptly ansible role on a fresh Debian Buster server (issue link), I get
permission denied
error creating $HOME dir. Details:Also, it appears that a dir named "$HOME" was created in /home/aptly:
which appears to contain the expected contents in aptly user's home dir, i.e.
The same error occurs when I substitute and other
aptly repo
command. Note I can successfully runsu aptly -c "aptly help"
with no error.When logged in as aptly user, I can run ALL of the above commands successfully:
Expected outcome is that aptly repo commands would work when run using
su aptly -c
.Aptly user env:
The text was updated successfully, but these errors were encountered: