Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX5L

Status
Not open for further replies.

AIX5L

Technical User
Jul 27, 2001
228
CH
Hi
I have a Problem, that an Application has create an link from a dir in /tmp/.nZy5Ua to /tmp.

So i can not remove the .nZy5Ua Directory without deleting the /tmp Directory

du -a

/tmp/.nZy5Ua
/tmp/.nZy5Ua/.nZy5Ua
/tmp/.nZy5Ua/.nZy5Ua/.nZy5Ua
/tmp/.nZy5Ua/.nZy5Ua/.nZy5Ua/.nZy5Ua

How can i remove this linked Directory ?????????

 
unlink /tmp/.nZy5Ua

It's an application that has create this link??? It's stupid and very dangerous!
 
It is not so easy....;->
unlink does not work directory is busy...;->
I have changed the /etc/filesystems
now i mount the /dev/hda3 on /tmp1 and reboot the machine, then i can remove the Directory.

But i think there must be another way.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top