Cant change Read only attribute for folder

M

M K

I have an application I am writing and when I tried to run it I got the
following message:

Visual Studio could not copy a support file to this location C:\xxxxxxxxxx.
Please verify the path exists and is writable.

Sooo I opened Explorer and went to the folder and found the read-only bit
was set so I unchecked it and hit OK. I got the same message so I once
again checked that folder and the read-only bit got reset again.

I have tried to set it from the top folder and it went through the motions
again and it got set again back to read-only. I also included sub-folders
too.

HELP!!!!!!!! lol

Mark
 
J

John John

Unless the folder was customized the Read-only attribute means bug-all.
See here: http://support.microsoft.com/kb/326549/

You should probably look at the folder's NTFS Security permissions &
inheritance for the cause of the problem. Do you and the System have
necessary permissions to write to the folder?

John
 
M

M K

I am not sure what you meant by

You should probably look at the folder's NTFS Security permissions &
inheritance for the cause of the problem. Do you and the System have
necessary permissions to write to the folder?

It is my personal laptop so I should have access to everything.

I did try to set the bit via the command prompt but when i look at it via
Explorer it still says read only

I did find a workaround and that was to close Visual Studio and reopen and
it worked. But I would really like to keep this from happening again.
 
J

Jim

M K said:
I am not sure what you meant by

You should probably look at the folder's NTFS Security permissions &
inheritance for the cause of the problem. Do you and the System have
necessary permissions to write to the folder?

It is my personal laptop so I should have access to everything.
There is a lot of difference between "should" and "does".
XP only knows about accounts. Thus, even the owner of the laptop
needs to use an account with the appropriate permissions

If the account that you are using is a member of the users group, then the
permissions may not be letting you
access the files or folder.
I did try to set the bit via the command prompt but when i look at it via
Explorer it still says read only
All folders in the Windows XP operating system have this bit set. Windows
XP
ignores the setting of the bit. Therefore, you can change it at will, but
you will have
accomplished nothing.
I did find a workaround and that was to close Visual Studio and reopen and
it worked. But I would really like to keep this from happening again.
With Simple File Sharing disabled, XP will display the Securtiy tab in the
Properties section of
the file or folder. The owner of the file or folder can make such changes
as are needed. A member
of the administrators group can also make such changes. Help & Support
covers the changing of permissions
in great detail.
Jim
 
J

John John

Is the laptop running XP Pro? Right-click the on folder, click
Properties, and then click the Security tab. If you are joined to a
domain or using XP home you have to use different methods or use
security tools like cacls or xcacls or boot to safe-mode to do security
work. See here: http://support.microsoft.com/kb/308418

John
 

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