Closed ayaka14732 closed 3 years ago
Generally, junest has not been design as multi user in mind.
You'd need to allow testuser
to write to directories which belongs to the original user. To do that you may need to use chmod
and allow the group of the directory ~/.junest
to write into it and assign testuser
to that group.
Another option is to use the junest option --no-copy-files
to avoid junest populating ~/.junest/etc/host.conf
on your behalf. This may not solve the problem entirely given that programs within junest may still need to do some writing into the ~/.junest
directory.
Solving this as it is not strictly a junest related issue.
Thanks for the reply.
and assign
testuser
to that group
But assigning user to a group requires root privilege.
Indeed! I forgot you may have not root privileges :/ Strange that setfacl
did not work well though.
I am trying to share
.junest
with another user (namedtestuser
), so thattestuser
can reuse my junest configuration.However, if I make
.junest
accessible fortestuser
withsetfacl
,testuser
will still get an error:If I change the write permission recursively of
.junest
withsetfacl
,testuser
will be able to run junest. However,pacman
will complain about the wrong directory permissions:and I am not sure if it is the right way to do this.