PDA

View Full Version : Symbolic link removed after uninstall



genleo
02-10-2014, 11:51 AM
Hi all,
I have the following problem on my Linux Red Hat System:

- as root user create (manually) a symbolic link which links a real path: ln -s /ergo/home/ACTIVE/ERGO /home/genleo which is the home directory of user genleo

- as root user, from /home/genleo install my application (/home/genleo is set as default install folder)

- as root user, from /home/genleo uninstall my application

- su - genleo fails because the symbolic link /home/genleo has been removed by uninstallation process

Obviously, no action has been set to perform this removal.

How can I avoid this?

Thank you
Gennaro