The documentation for g_get_home_dir() says the following:

Note that in contrast to traditional UNIX tools, this function prefers
passwd entries over the HOME environment variable.

One of the reasons for this decision is that applications in many cases
need special handling to deal with the case where HOME is
Not owned by the user
Not writeable
Not even readable

Since applications are in general not written to deal with these
situations it was considered better to make g_get_homedir() not pay
attention to HOME and to return the real home directory for the user.

Did you take the appropriate precautions for those cases?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to