Re: How to safe configs to another path than ~

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



[2013-07-25 10:35:11 +0200] Ralf Mardorf:
> If I run
> HOME=/home/rocketmouse/alt_profiles/1 xfce4-terminal --maximize
> by xfce4-terminal
> the path gets completely ignored, all settings still are stored
> to /home/rocketmouse and not to the
> path /home/rocketmouse/alt_profiles/1.

Applications have different means of finding out what the HOME directory
of a given user is. The HOME environment variable is just one of them.
Other popular ones include the function calls getpwuid() and getpwuid();
they basically read the data from /etc/passwd so your only way to work
around that and pretend having a different home directory would be to
override those calls with LD_PRELOAD...

-- 
Gaetan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux