Michael Lazin on 5 Jul 2016 15:25:18 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Undeletable file, how to get rid of it?

I don't know if it pertains, but we had an issue with an office NAS where users were mounting it with sshfs and copying files to it, and the files which were copied in this manner were only deletable by the user that created it because of the file ownership.  If you can check the file ownership please do so.  It may be the issue.



On Tue, Jul 5, 2016 at 3:20 PM, Greg Helledy <gregsonh@gra-inc.com> wrote:
One thing I had not given much thought to when I posted my question is that the NAS box that the file is sitting on is probably not using a linux file system.  It is a WD MyCloud EX4, I assume it's using NTFS.

I tried this command:
>ls | cat -v -e -t
and got:
but when I tried:
>rm cifs4936$
I still got:
>rm: cannot remove ‘cifs4936$’: No such file or directory

A co-worker (who is suspicious about linux, and is responsible for that NAS device) logged in via windows NET USE, and windows shows the file being deleted, but when you go up a directory and back in, the file has re-appeared.  He suggested that the FTP software was re-writing the file.  I proved that false by shutting down the server...the behavior didn't change.

What would you do at this point?  This isn't so much a linux question anymore, I suppose, is it time for a call to WD?

Greg Helledy
GRA, Incorporated
P:  +1 215-884-7500
F:  +1 215-884-1385

On 7/5/2016 4:01 PM, plug-request@lists.phillylinux.org wrote:
Undeletable file, how to get rid of it?
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

Michael Lazin

to gar auto estin noein te kai ennai
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