Read only files

  • Thread starter Thread starter kirk collins
  • Start date Start date
K

kirk collins

I have a brand new dell laptop with WIN XP. At my office
we use a accounting product called MAS 90. I have tried
to install our Software on more than one occasion and the
same error comes up "A read-only file in the target
directory cannot be overwritten. Please change the file
attribute and try again. Target Directory is C:\Program
Files\Common Files\ Microsoft Shared\DAO." I have read
the newsgroups front and back and have tried all of the
suggestions of the MVPs for similar problems. We have
installed this on other XP machines with out a hitch. Do
you all have any suggestions? I have contacted dell and
am put off (I will not buy from them again) and told that
it is a software issue.
 
kirk said:
I have a brand new dell laptop with WIN XP. At my office
we use a accounting product called MAS 90. I have tried
to install our Software on more than one occasion and the
same error comes up "A read-only file in the target
directory cannot be overwritten. Please change the file
attribute and try again. Target Directory is C:\Program
Files\Common Files\ Microsoft Shared\DAO." I have read
the newsgroups front and back and have tried all of the
suggestions of the MVPs for similar problems. We have
installed this on other XP machines with out a hitch. Do
you all have any suggestions? I have contacted dell and
am put off (I will not buy from them again) and told that
it is a software issue.

Folders in XP appear to be read only but, for the most part, are not. For
those that are, a program shouldn't care if a folder is read only or not. It
should only be concerned about the attributes of individual files. The
message from MAS90's installer is complaining about a *file* that is read
only.

Check the properties of the files in that folder. You can select all files
(select the files, not the folder) and use the collective properties sheet
to remove the read only mark from the group in one fell swoop.

NOTE: You may want to copy those files to another folder to compare them to
the files you end up. The MAS program may be trying to overwrite a DLL with
an older version. That's great for the MAS program. It could be bad for
other installed programs that depend on the newer version of the DLL. A
common workaround is to copy the older file to the MAS program folder and
keep the newer one in the Shared folder.
 
If you've tried changing the attribute and that didn't resolve it, it may be
a file ownership issue.

Note, file ownership and permissions supersede administrator rights. How
you resolve it depends upon which version of XP you are running.



XP-Home



Unfortunately, XP Home using NTFS is essentially hard wired for "Simple File
Sharing" at system level.

However, you can set XP Home permissions in Safe Mode. Reboot, and start
hitting F8, a menu should eventually appear and one of the
options is Safe Mode. Select it. Note, it will ask for the administrator's
password. This is not your administrator account, rather it is the
machine's administrator account for which users are asked to create a
password during setup.

If you created no such password, when requested, leave blank and press
enter.

Open Explorer, go to Tools and Folder Options, on the view tab, scroll to
the bottom of the list, if it shows "Enable Simple File Sharing" deselect it
and click apply and ok. If it shows nothing or won't let you make a change,
move on to the next step.

Navigate to the files, right click, select properties, go to the Security
tab, click advanced, go to the Owner tab and select the user that was logged
on when you were refused permission to access the files. Click apply and
ok. Close the properties box, reopen it, click add and type in the name of
the user you just enabled. If you wish to set ownership for everything in
the folder, at the bottom of the Owner tab is the following selection:
"Replace owner on subcontainers and objects," select it as well.

Once complete, you should be able to do what you wish with these files when
you log back on as that user.



XP-Pro



If you have XP Pro, temporarily change the limited account to
administrative. First, go to Windows Explorer, go to Tools, select Folder
Options, go to the View tab and be sure "Use Simple File Sharing" is not
selected. If it is, deselect it and click apply and ok.



If you wish everything in a specific folder to be accessible to a user,
right click the folder, select properties, go to the Security tab, click
Advanced, go to the Owner tab,
select the user you wish to have access, at the bottom of the box, you
should see a check box for "Replace owner on subcontainers and objects,"
place a check in the box and click apply and ok.

The user should now be able to perform necessary functions on files in the
folder even as a limited account. If not, make it an admin account again,
right click the folder, select Properties, go to the Security tab and be
sure the user is listed in the user list. If not, click add and type the
user name in the appropriate box, be sure the user has all the necessary
permissions checked in the permission list below the user list, click apply
and ok.

That should do it and allow whatever access you desire for that folder even
in a limited account.
 
I have already changed ownership I think. I can't click
the simple file sharing tab, because it is not there. Is
there an update or anything for this?
 
I have already changed ownership I think. I can't click
the simple file sharing tab, because it is not there. Is
there an update or anything for this?
 
Back
Top