Re: [PLUG] File won't stay deleted

2016-02-10 Thread Rich Shepard
On Tue, 9 Feb 2016, John Jason Jordan wrote:

> Any more suggestions?

John,

   Have you tried deleting the files as root rather than as a user? If not,
that's a logical next step.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Rich Shepard
On Wed, 10 Feb 2016, John Jason Jordan wrote:

> Deleting as root worked for the renamed file, but the original still
> reappears an hour or so after I delete it, even if I delete it as root.

John,

   I've no idea what file system is on your computer. Here's a URL on the
same problem with Puppy Linux:



   The web search phrase, "linux file reappears after deletion" returns many
hits (including some for windoze.)

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread John Jason Jordan
On Wed, 10 Feb 2016 05:46:02 -0800 (PST)
Rich Shepard  dijo:

>On Tue, 9 Feb 2016, John Jason Jordan wrote:
>
>> Any more suggestions?

>Have you tried deleting the files as root rather than as a user? If not,
>that's a logical next step.

Deleting as root worked for the renamed file, but the original still
reappears an hour or so after I delete it, even if I delete it as root. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread John Jason Jordan
On Tue, 9 Feb 2016 22:36:13 -0800
Keith  dijo:

>Did you happen to share it through bittorrent or download it with BT?

No.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Robert Citek
On Tue, Feb 9, 2016 at 9:42 PM, John Jason Jordan  wrote:
> I tried lsof, but unless I can figure out a way to grep or filter the
> results it is useless - pages and pages of incomprehensible stuff.

If lsof produced output, then some process is still writing/creating
the file and you will not be able to remove the file(s) until that
process finishes.  If you do not care what that process is, then the
quick-n-dirty solution is to reboot your system and remove the
file(s).

Good luck and let us know how things go.

Regards,
- Robert
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Rich Shepard
On Wed, 10 Feb 2016, Rich Shepard wrote:

>   I've no idea what file system is on your computer. Here's a URL on the
> same problem with Puppy Linux:
>
> 

   There's another hit that explains that behavior when the file is shared by
more than one user or computer.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Richard Owlett
On 2/10/2016 9:46 AM, John Jason Jordan wrote:
>
> Deleting as root worked for the renamed file, but the original still
> reappears an hour or so after I delete it, even if I delete it as root.

A shot in the dark.
Delete the file.
Create a dummy file with ASCII content "This is dummy content".
Set *ALL* permission bits to 0.
Note the time stamp on the new file.
Hopefully the culprit will throw a fit.
If not, note the new timestamp(s). Should point to critical time 
if not explicitly to culprit.

Can't claim full credit for last sentence. Based on a  _Reader's 
Digest_ "life stranger than fiction" piece from [IIRC] >= 4 
decades ago.


___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread John Jason Jordan
On Wed, 10 Feb 2016 07:56:21 -0800 (PST)
Rich Shepard  dijo:

>On Wed, 10 Feb 2016, Rich Shepard wrote:
>
>>I've no idea what file system is on your computer. Here's a URL on
>>the same problem with Puppy Linux:
>>
>> 
>
>There's another hit that explains that behavior when the file is shared by
>more than one user or computer.

Well, I'm the only user and, other than the net connection, this
computer is not connected to any others in my home network. And the URL
above appears to apply only to system and config files, which we all
know are sometimes auto-regenerated, but this file is an ISO image of a
movie that I created with K3b. 

Re file systems, I use ext4 on all my drives and partitions, even on USB
sticks. If I acquire a USB drive that comes formatted FAT32 I
immediately reformat it to ext4. I do this because I have many files
that are > 4 GB, which FAT32 will puke on.

But having said all that, I believe have solved the problem. I also
posted about this on the Ubuntu General forum, and a kind soul suggested
deleting it in Thunar using Shift-Delete instead of right-clicking on
it and selecting Delete. I did so at about 8 am today and so far it
has remained deleted. (Crossing fingers.) I have no idea what
Shift-Delete does that ordinary delete actions do not. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread John Jason Jordan
On Wed, 10 Feb 2016 11:58:06 -0800
John Jason Jordan  dijo:

>But having said all that, I believe have solved the problem. I also
>posted about this on the Ubuntu General forum, and a kind soul
>suggested deleting it in Thunar using Shift-Delete instead of
>right-clicking on it and selecting Delete. I did so at about 8 am
>today and so far it has remained deleted. (Crossing fingers.) I have
>no idea what Shift-Delete does that ordinary delete actions do not. 

I spoke too soon. I was away for a couple of hours and when I returned
the file was back.

I had another suggestion from the Ubuntu forum that I didn't try
because the Shift-Delete solution seemed easier. This person suggested:

shred -vzu /path/to/file

The man page for shred seemed pretty straightforward, so I did it. The
command executed in four passes, and the file is once again gone. We
shall see. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread wes
grep -r 

would just sit and do nothing infinitely, as you didn't give it any files
to look in. so it assumes it's waiting for text to be piped into it.

grep -r  .

would be sufficient, since he would already be "cd"ed into the desired
location.

grep -r  /var/log

would be equivalent.

-wes

On Wed, Feb 10, 2016 at 7:22 PM, Don Buchholz 
wrote:

> ... also,
># cd /var/log
># grep -r 
> If some daemon is responsible for restoring it, maybe it's logging the
> event.
> -Don
> P.S.  I know there is interest in figuring out "why?", but I still think
> that nuking it in single-user mode would be a good test ...
>
> On February 10, 2016 7:12:00 PM PST, Bill Barry 
> wrote:
> >On Wed, Feb 10, 2016 at 7:01 PM, John Jason Jordan 
> >wrote:
> >> We shall see what happens.
> >
> >The output of lsof would be useful. Try something like
> >lsof | grep -i filename
> >to see if something has the file open.
> >
> >Bill
> >___
> >PLUG mailing list
> >PLUG@lists.pdxlinux.org
> >http://lists.pdxlinux.org/mailman/listinfo/plug
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Bill Barry
On Wed, Feb 10, 2016 at 7:01 PM, John Jason Jordan  wrote:
> We shall see what happens.

The output of lsof would be useful. Try something like
lsof | grep -i filename
to see if something has the file open.

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Don Buchholz
... also,
   # cd /var/log
   # grep -r 
If some daemon is responsible for restoring it, maybe it's logging the event.
-Don
P.S.  I know there is interest in figuring out "why?", but I still think that 
nuking it in single-user mode would be a good test ...

On February 10, 2016 7:12:00 PM PST, Bill Barry  wrote:
>On Wed, Feb 10, 2016 at 7:01 PM, John Jason Jordan 
>wrote:
>> We shall see what happens.
>
>The output of lsof would be useful. Try something like
>lsof | grep -i filename
>to see if something has the file open.
>
>Bill
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Daniel Hedlund
On Feb 10, 2016 14:46, "John Jason Jordan"  wrote:
> I spoke too soon. I was away for a couple of hours and when I returned
> the file was back.

1. Delete the file and replace it with a 0-byte file.  Change ownership to
root so your user can no longer modify it:
$> chown root:root /path/to/file.

Keep an eye on it to see if the ownership permissions change or it grows in
size again.  Look at the system logs to see if any apps or kernel log an
error because they could no longer write to it.

2.  Delete the file and keep an eye on Internet usage for a download
spike.  If your router doesn't have the ability to see that info, you can
probably keep an eye in the total amount of traffic received in the network
info returned by ifconfig.  Write down or copy & paste that value and
compare it with the same output later.  That will tell you if it's a result
of syncing over the network.  I think canonical has some cloud sync
functionality built in, or used to anyway.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug