TMP directory read-only

G

Guest

I have a used laptop running XP Home Edition, SP1. Any/all programs that
need to create a temporary file using the Environment Variable TMP or TEMP
fail as the directory is Read-Only.

How? WHY? are these directories set to read-only and how can I disable that?
When manually selecting to remove the Read-Only checkbox, as soon as the
option is saved it is immediately reset to Read-Only. I am logged in as the
Adminstrator with full rights/options.

I've never seen TEMP set to RO. Is this specific to XP and if so why?? and
again, how to remove the setting so my apps can be installed.

Thank you, Deb
 
K

Ken Blake, MVP

Deb said:
I have a used laptop running XP Home Edition, SP1. Any/all programs
that need to create a temporary file using the Environment Variable
TMP or TEMP fail as the directory is Read-Only.

How? WHY? are these directories set to read-only and how can I
disable that? When manually selecting to remove the Read-Only
checkbox, as soon as the option is saved it is immediately reset to
Read-Only. I am logged in as the Adminstrator with full
rights/options.

I've never seen TEMP set to RO. Is this specific to XP and if so
why?? and again, how to remove the setting so my apps can be
installed.




Folders are never read-only. The read-only attribute is meaningless for
folders. Just ignore it. That's not what your problem is.
 
R

Ronnie Vernon MVP

Deb

The Read Only attribute on folders in XP is by design and is ignored by Windows. This does not affect the attributes on the files in the folders. It does not prevent creating, modifying or deleting the files within.

If you have any 'files' with the Read Only attribute in these folders and you remove the Read Only attribute from the parent folder and select to include all of the sub-folders and files, then the files will be marked as Archived, but the Parent folder and all sub-folders will still show the Read Only attribute.

You Cannot View or Change the Read-Only or System Attribute of Folders:
http://support.microsoft.com/kb/326549

Have you changed the default location of the TEMP folder in the enviromental settings? Some programs define their own location of temp files and may still try to use a temp folder other than the one you specify.

Also, you are using XP SP1. If these installation files use the Windows Installer, there have been updates to the Windows installer in SP2 and later updates, which could be causing the problem. You need to get that system up to date.
 
D

Detlev Dreyer

Ronnie Vernon MVP said:
The Read Only attribute on folders in XP is by design

That's not correct and does not apply to the temporary folder either.
You may want to check with the command prompt: ATTRIB %temp%
and there is no Read-Only attribute (R) by design. Another way is to
show the attributes in Windows Explorer. Explorer > View > Choose
Details > Attribute. Where do you see any "R" attribute on folders?
and is ignored by Windows.

Correct, once the Read-Only has been set on folders manually via
the ATTRIB command or third-party file manager.
 
G

Guest

Thank you so much for the replies. I followed instructions on
http://support.microsoft.com/kb/326549 workaround (attrib -r
<path/directoryname> in command prompt) and was able to remove the attribute
for read-only on the temp directory. The error no longer occurs (error was
cannot create <filename> in the temp directory. Thank you all for the help
removing the setting!

Now the app errors with "program too large to fit into memory" which is odd
because the laptop has 256 RAM (shows as 240 available) with 720 mg virtual
memory. This is an older copy of Macromedia Studios that I've installed
previously on Win2000 with no problems. I formatted the old PC before
selling, now trying to load onto the gift laptop without success.

Any suggestions on the new error? I will post to a new forum if that is the
appropriate action. I will load SP2 as soon as I have the laptop on-line.

Thank you again for all of the assistance.
 
R

Ronnie Vernon MVP

You're correct Detlev, I should ahve made that a bit clearer. what I meant was that the read only attribute will show as being set in the properties of a folder, but this is the default for all folders, and the setting is ignored by Windows. It does not mean that the folder is actually set as read only. This is the way it's designed.
 
T

Tim Slattery

Deb New-Herms said:
I have a used laptop running XP Home Edition, SP1. Any/all programs that
need to create a temporary file using the Environment Variable TMP or TEMP
fail as the directory is Read-Only.

I don't think so. A directory in FAT32 or NTFS cannot be set
read-only.
How? WHY? are these directories set to read-only and how can I disable that?

When you display the "Properties" dialog for a directory, the
"Read-only" box you see is a three-state checkbox in its third state:
filled with a gray or green color, but not containing a checkmark.

That's telling you that the option doesn't apply here. The box is a
shortcut to set or clear the read-only flag for *all* the files in the
directory (and optionally, for subdirectories also). Clicking the box
until a checkbox appears, then clicking "OK" or "Apply" sets all the
files read-only. Clicking the box until it's empty then clicking "OK"
or "Apply" makes all the files read/write.

So the directory is not read-only. The problem you're experiencing is
elsewhere.
 
G

Guest

Hi Tim,

Thank you for the reply. Actually at the MS-DOS level, the temp directory
was set to Read Only (I changed temp env variable to point at c:\temp for my
testing):The command "attrib c:\temp" showed:
R S c:\temp
When I used attrib -r -s c:\temp, then queried again I found:
c:\temp
So the value was removed. After removing the value I hit the new error
"File to Large to Fit in Memory". There is nothing on the website for MM
Studio, or Windows XP on this error, with the exception of a note about
QuickBasic encountering the error. (http://support.microsoft.com/kb/40154)
I have installed on another PC w/ Win2000 with the same physical memory &
virtual memory without this error. Any thoughts or should I post this as a
new question in a different forum?

Incidentally I did set the folder back to System attrib without it making
any difference.

Thank you again for your help.
 
R

Ronnie Vernon MVP

You're welcome.

About this new error, which version of macromedia Studio are you trying to install.
 

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