Isn't the reason for faccessat call before unlink is that rm without the -f flag is explicitely specified to ask for confirmation when the file is not writable? Alexander