https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25752

--- Comment #15 from Julian Maurice <julian.maur...@biblibre.com> ---
(In reply to Jonathan Druart from comment #13)
> root@615331e1369d:koha(master)$ cd /tmp
> root@615331e1369d:tmp$ koha-shell -c pwd kohadev
> /tmp
> root@615331e1369d:tmp$ koha-shell kohadev
> kohadev-koha@615331e1369d:/tmp$ pwd
> /tmp

Sorry, I misread the patch. The problem is with the --login option:

# cwd is /home/koha/env/master/src
# user test-koha created by hand so $HOME is different than with package
install
% debian/scripts/koha-shell --login -c pwd test
/home/test-koha
% debian/scripts/koha-shell --login test       
% pwd
/home/koha/env/master/src

Compare with sudo:

# cwd is /home/koha/env/master/src
% sudo --login -u test-koha pwd
/home/test-koha
% sudo --login -u test-koha
% pwd
/home/test-koha

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to