Jump to content

Network share: What causes " ~ $files" temp files?


Recommended Posts

Posted

We run 2000 server. We have a network share that all our users have

Full Control for. They also have read, write and modify NTFS

permissions. Why are temp files constantly being created on this

share? It seems that if someone views a file even if they close it

properly a temp file is sometimes created. I can not seem to

reproduce this "action" on purpose. But if I monitor the folder new ~

$ or temp files are created every day or so. Any ideas?

  • Replies 7
  • Created
  • Last Reply
Guest Lanwench [MVP - Exchange]
Posted

Re: Network share: What causes " ~ $files" temp files?

 

pez <peter.zelonis@gmail.com> wrote:

> We run 2000 server. We have a network share that all our users have

> Full Control for. They also have read, write and modify NTFS

> permissions. Why are temp files constantly being created on this

> share? It seems that if someone views a file even if they close it

> properly a temp file is sometimes created. I can not seem to

> reproduce this "action" on purpose. But if I monitor the folder new ~

> $ or temp files are created every day or so. Any ideas?

 

Depending on the application, temp files are often written to the same

location as the 'real' files. Office apps do this, for example. They're

supposed to be automatically deleted when the application/file are closed,

but if the application doesn't close the file properly, the temp file won't

get deleted.

Guest Anteaus
Posted

Re: Network share: What causes " ~ $files" temp files?

 

 

If the ~... files build-up in number, it's likely that a workstation has a

copy of Microsoft Word that's crashing regularly. The ownership of the temp

file may clue you as to which one this is.

 

 

"Lanwench [MVP - Exchange]" wrote:

 

> Depending on the application, temp files are often written to the same

> location as the 'real' files. Office apps do this, for example. They're

> supposed to be automatically deleted when the application/file are closed,

> but if the application doesn't close the file properly, the temp file won't

> get deleted.

Guest Lanwench [MVP - Exchange]
Posted

Re: Network share: What causes " ~ $files" temp files?

 

Anteaus <Anteaus@discussions.microsoft.com> wrote:

> If the ~... files build-up in number, it's likely that a workstation

> has a copy of Microsoft Word that's crashing regularly. The ownership

> of the temp file may clue you as to which one this is.

 

Note that Word is not the only application that might be responsible for

this.

>

>

> "Lanwench [MVP - Exchange]" wrote:

>

>

>> Depending on the application, temp files are often written to the

>> same location as the 'real' files. Office apps do this, for example.

>> They're supposed to be automatically deleted when the

>> application/file are closed, but if the application doesn't close

>> the file properly, the temp file won't get deleted.

  • 2 weeks later...
Guest Matt Filip
Posted

RE: Network share: What causes " ~ $files" temp files?

 

It's because they don't have full privelages on the directory, just modify.

I am having the same problem right now. People don't understand they can

just be deleted.

 

Does anyone know of a way to allow specific programs specific rights to the

directory?

 

"pez" wrote:

> We run 2000 server. We have a network share that all our users have

> Full Control for. They also have read, write and modify NTFS

> permissions. Why are temp files constantly being created on this

> share? It seems that if someone views a file even if they close it

> properly a temp file is sometimes created. I can not seem to

> reproduce this "action" on purpose. But if I monitor the folder new ~

> $ or temp files are created every day or so. Any ideas?

>

Guest Lanwench [MVP - Exchange]
Posted

Re: Network share: What causes " ~ $files" temp files?

 

Matt Filip <MattFilip@discussions.microsoft.com> wrote:

> It's because they don't have full privelages on the directory, just

> modify. I am having the same problem right now. People don't

> understand they can just be deleted.

>

> Does anyone know of a way to allow specific programs specific rights

> to the directory?

 

No, modify is sufficient for this. All they'd get with full is the

permission to set security.

>

> "pez" wrote:

>

>> We run 2000 server. We have a network share that all our users have

>> Full Control for. They also have read, write and modify NTFS

>> permissions. Why are temp files constantly being created on this

>> share? It seems that if someone views a file even if they close it

>> properly a temp file is sometimes created. I can not seem to

>> reproduce this "action" on purpose. But if I monitor the folder new

>> ~ $ or temp files are created every day or so. Any ideas?

Guest Matt Filip
Posted

Re: Network share: What causes " ~ $files" temp files?

 

We took out the delete permission because we've already had 20k files go

missing. (don't ask, it's a really lame setup that can't be changed dictated

by 3rd party software)

 

Since we took the delete out these files are still sitting in there. I want

to setup volume shadow copy, but that doesn't help if files are deleted, only

modified.

 

"Lanwench [MVP - Exchange]" wrote:

> Matt Filip <MattFilip@discussions.microsoft.com> wrote:

> > It's because they don't have full privelages on the directory, just

> > modify. I am having the same problem right now. People don't

> > understand they can just be deleted.

> >

> > Does anyone know of a way to allow specific programs specific rights

> > to the directory?

>

> No, modify is sufficient for this. All they'd get with full is the

> permission to set security.

> >

> > "pez" wrote:

> >

> >> We run 2000 server. We have a network share that all our users have

> >> Full Control for. They also have read, write and modify NTFS

> >> permissions. Why are temp files constantly being created on this

> >> share? It seems that if someone views a file even if they close it

> >> properly a temp file is sometimes created. I can not seem to

> >> reproduce this "action" on purpose. But if I monitor the folder new

> >> ~ $ or temp files are created every day or so. Any ideas?

>

>

>

>

Guest Lanwench [MVP - Exchange]
Posted

Re: Network share: What causes " ~ $files" temp files?

 

Matt Filip <MattFilip@discussions.microsoft.com> wrote:

> We took out the delete permission because we've already had 20k files

> go missing. (don't ask, it's a really lame setup that can't be

> changed dictated by 3rd party software)

>

> Since we took the delete out these files are still sitting in there.

> I want to setup volume shadow copy, but that doesn't help if files

> are deleted, only modified.

 

Well, if you remove their ability to delete, that explains this problem, as

they no longer have "Modify," of course. :-)

 

If your users can't delete files, there isn't much you can do outside of

running a scheduled batch file on the server to delete *.tmp.

>

> "Lanwench [MVP - Exchange]" wrote:

>

>> Matt Filip <MattFilip@discussions.microsoft.com> wrote:

>>> It's because they don't have full privelages on the directory, just

>>> modify. I am having the same problem right now. People don't

>>> understand they can just be deleted.

>>>

>>> Does anyone know of a way to allow specific programs specific rights

>>> to the directory?

>>

>> No, modify is sufficient for this. All they'd get with full is the

>> permission to set security.

>>>

>>> "pez" wrote:

>>>

>>>> We run 2000 server. We have a network share that all our users

>>>> have Full Control for. They also have read, write and modify NTFS

>>>> permissions. Why are temp files constantly being created on this

>>>> share? It seems that if someone views a file even if they close it

>>>> properly a temp file is sometimes created. I can not seem to

>>>> reproduce this "action" on purpose. But if I monitor the folder

>>>> new ~ $ or temp files are created every day or so. Any ideas?


×
×
  • Create New...