[X2Go-Dev] Bug#200: When user-directories do not exist, saving sqlpass with x2godbadmin is not possible

Michael Kromer michael.kromer at netitwork.net
Tue May 7 11:31:33 CEST 2013


Package: x2goserver
Version: 4.0.0.1
Tag: patch

when a user directory does not exist yet (and is deeper than /home/$USER), the call of x2godbadmin --createuser fails:

create DB user "x2gouser_test"
Can't open password file /home/prod/user/test/.x2go/sqlpass at /usr/sbin/x2godbadmin line 350.

The reason is the mkdir call, which does not recursively create the directory needed. See patch attached.

- mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdir-fix.patch
Type: text/x-patch
Size: 282 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130507/d448d793/attachment.bin>


More information about the x2go-dev mailing list