john boris on 6 Jul 2016 07:45:06 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Undeletable file, how to get rid of it? |
This system does not have lsof installed. I know that the file got there through the FTP server software (as a user upload), and the file is still undeletable when the server is not running.
I tried unmounting and remounting the share, then deleting the file again. No change to the results of a delete command.
If I try to delete the directory the file is contained in, I get:
rmdir: failed to remove ‘test’: Device or resource busy
On the ownership issue: all of the files and directories on the NAS mount show up as owned by root. I have no idea how file permissions are actually handled in the (presumably NTFS) filesystem on the device. But I was able (as root) to delete other files in that directory...only this single file gave me a problem.
The $ indicated and end of line. It's not actually in
the file name, I'm pretty sure it's output from ls rather than being
the file name:
Oh, my mistake.
--
Greg Helledy
GRA, Incorporated
P: +1 215-884-7500
F: +1 215-884-1385
www.gra.aero
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug