temporary files created when saving a document as

C

Constance

Hi,

I have summer.doc open on my computer. I do a "File, Save As" and select a
directory on the network that has Read Write permissions only (no modify or
delete). When I try to save the document, I get an error that says "Word
cannot complete the save due to a file permission error".

I take a look at the folder and notice that there is already a document
called summer.doc - which is created by Word as a "temporary" file. We have
the same problem with all the office products. This causes a problem because
we can't save any office documents to this folder. THe permissions on this
folder need to be set to Read Write only (users cannot modify or delete any
existing files). What can we do to work around this problem? Is there a way
we can change the default location of the temporary files Office creates?

Thanks in advance for your input on this matter.

Constance
 
B

Bob Buckland ?:-\)

Hi Constance,

For a file of that name to be in a folder other than
where you started would indicate that a file of that name
was there previously and then opened. If you're
saving it as the same name then it is a modified version
of that file. If you use File=>Save As and use a new
name you should be able to save it, but Word needs to
be able to delete it's old temp files or you can
sweep them with a search using ~$*.*;*.tmp, but it's
a bit messier.

This article describes how Word uses temp files. The
~$yourfilename.doc one is created in the directory of the
document you open to let Windows know the file is in use.
http://support.microsoft.com/default.aspx?scid=kb;en-us;211632&FR=1

In some cases you may be able to take advantage of the
setting in Tools=>Options=>Save
[x]'Make local copy...'
in Word if you're talking about using a server drive,
but otherwise Word uses delete and rename/replace as
part of the way it works.

=====
Hi,

I have summer.doc open on my computer. I do a "File, Save As" and select a
directory on the network that has Read Write permissions only (no modify or
delete). When I try to save the document, I get an error that says "Word
cannot complete the save due to a file permission error".

I take a look at the folder and notice that there is already a document
called summer.doc - which is created by Word as a "temporary" file. We have
the same problem with all the office products. This causes a problem because
we can't save any office documents to this folder. THe permissions on this
folder need to be set to Read Write only (users cannot modify or delete any
existing files). What can we do to work around this problem? Is there a way
we can change the default location of the temporary files Office creates?

Thanks in advance for your input on this matter.

Constance>>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx
 
C

Constance

Hi Bob,

thanks for responding to my post so quickly.

I am a bit concerned on why Microsoft would create the permissions Read Write
but not allow their Office products to work this way. I don't understand
this at all. If I just want to be able to add files to a directory, I should
be able to do this by doing a "Save As" in any existing document wherever it
is located.

So is there no way we can change the location of the "temp" files that Word
creates when creating a new file?
c
 
B

Bob Buckland ?:-\)

Hi Constance,

Word has worked this way for basically over a decade.

Since two people shouldn't normally work on the same
Word document at the same time the 'lock file' was
needed before Windows added the controls it had today.
http://support.microsoft.com/default.aspx?scid=kb;en-us;277867&FR=1

Other than the feature I mentioned in the previous
message I'm not aware of a generally supported method
for deviating from the MS knowledge base article although
web interface (browser) access and specific windows/server
version issues may also come into play.

It's not clear at this point what issue you're trying
to solve. Using Save as to a new name or new directory
creates a new file. Saving under the same name in the
same location as the original is in fact modifying/deleting
the original file, which you had said wasn't allowed?


==============
Hi Bob,

thanks for responding to my post so quickly.

I am a bit concerned on why Microsoft would create the permissions Read Write
but not allow their Office products to work this way. I don't understand
this at all. If I just want to be able to add files to a directory, I should
be able to do this by doing a "Save As" in any existing document wherever it
is located.

So is there no way we can change the location of the "temp" files that Word
creates when creating a new file? >>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx
 
B

Bob I

As Bob B. said, that is the method that's been in use for a long time.
Sometimes the "desire" to control the system using novel techniques will
result in undesired side effects. If you must have "delete deny" set,
then the user must copy the document to a location where delete is
permitted, edit and then copy or "move" the edited file back to the
original location. The "tmp" file will be in whatever directory the file
is opened for editing in. Hope this info will allow you to resolve your
issue.
Hi Bob,

thanks for responding to my post so quickly.

I am a bit concerned on why Microsoft would create the permissions Read Write
but not allow their Office products to work this way. I don't understand
this at all. If I just want to be able to add files to a directory, I should
be able to do this by doing a "Save As" in any existing document wherever it
is located.

So is there no way we can change the location of the "temp" files that Word
creates when creating a new file?
c
:

Hi Constance,

For a file of that name to be in a folder other than
where you started would indicate that a file of that name
was there previously and then opened. If you're
saving it as the same name then it is a modified version
of that file. If you use File=>Save As and use a new
name you should be able to save it, but Word needs to
be able to delete it's old temp files or you can
sweep them with a search using ~$*.*;*.tmp, but it's
a bit messier.

This article describes how Word uses temp files. The
~$yourfilename.doc one is created in the directory of the
document you open to let Windows know the file is in use.
http://support.microsoft.com/default.aspx?scid=kb;en-us;211632&FR=1

In some cases you may be able to take advantage of the
setting in Tools=>Options=>Save
[x]'Make local copy...'
in Word if you're talking about using a server drive,
but otherwise Word uses delete and rename/replace as
part of the way it works.

=====
Hi,

I have summer.doc open on my computer. I do a "File, Save As" and select a
directory on the network that has Read Write permissions only (no modify or
delete). When I try to save the document, I get an error that says "Word
cannot complete the save due to a file permission error".

I take a look at the folder and notice that there is already a document
called summer.doc - which is created by Word as a "temporary" file. We have
the same problem with all the office products. This causes a problem because
we can't save any office documents to this folder. THe permissions on this
folder need to be set to Read Write only (users cannot modify or delete any
existing files). What can we do to work around this problem? Is there a way
we can change the default location of the temporary files Office creates?

Thanks in advance for your input on this matter.

Constance>>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top