Questions tagged [unlink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
32 votes
11 answers
29k views

How to make `rm` faster on ext3/linux?

I have ext3 filesystem mounted with default options. On it I have some ~ 100GB files. Removal of any of such files takes long time (8 minutes) and causes a lot of io traffic, which increases load on ...
1 vote
0 answers
593 views

Can NFS unlink and recreate result in a race condition?

I'm seeing strange behavior and I'm wondering if it's a race condition. The strange behavior is MySQL getting EEXIST when trying to create a temporary file. MySQL reuses temp file names by default, ...
2 votes
3 answers
5k views

PHP unlink() deleting file user has no permission to

A bit of a long shot here but thought I'd see if anyone had a fix for this: I am having an issue whereby the PHP function unlink() is being able to successfully delete a file even though explicit ...
0 votes
3 answers
3k views

PHP unlink can't delete file while I can unlink this file in Linux shell

There is a file(644, owner:apache) that I can't delete it using a PHP script with unlink function. I can't figure it out why unlink fails to delete this file. BTW, I have tried fclose it before ...