Thursday, 27 October 2011

Cannot delete files created by a script

Cannot delete files created by a script

I have a machine where run a script that generates log in the (root)\tmp\TEST folder. But for some reason from last week these files after created are undeletable.

If i rename the tmp\TEST folder then i can delete them (apparently) but if i recreate a folder in tmp directory with the same name 'TEST' the files 'magically' reappears.

I tought to unmount the folder and do a checkdisk but only in this folder (as the machine is actually hosting a firewall system and i want to be sure to not compromise the other files in the system).

As i'm really at first step in linux/freebsd command learning:

how can i unmount the folder tmp and how can i do a checkdisk only in tmp folder?

No comments:

Post a Comment