Greg Helledy on 5 Jul 2016 16:09:00 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[PLUG] Undeletable file, how to get rid of it? |
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 busyOn 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