PDA

View Full Version : Turn of Read Only for a folder - Help!!



NewsArchive
06-02-2009, 01:19 AM
Hi All,

I am not sure what I have done but (an I am assuming this is my fault)
but my last update has set the program folder and the data sub-folder as
read only. I could not find anything in the scrip to indicate that this is
true but the read only attribute can not be turned off at the customer site
or here in my testing.

Can I use the set file attributes function to turn off read only? If so,
how?
It looks like you can turn it on but I don't see anything about removing the
attribute.

Any other suggestions are welcome at this point as the customer is dead in
the water.

--
Ron Childs
C6.3 9056 ABC

NewsArchive
06-02-2009, 01:20 AM
Ron,

I believe folders always have the read-only attribute set to on. I would look
to the security settings for the folder contents if you are having problems
accessing the data.

Regards,
Kelly E Major

NewsArchive
06-02-2009, 01:21 AM
Thanks Kelly,

I just took a look at my XP box and all folders are marked as read
only so he must be having some other problems.

--
Ron Childs
C6.3 9056 ABC

NewsArchive
06-02-2009, 01:22 AM
Use Set File Attributes for the folder and ensure the read-only is not
checked. That should give you what you want.

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/dev.htm

NewsArchive
06-02-2009, 01:25 AM
Thanks Russ,

I will give that a try.

--
Ron Childs
C6.3 9056 ABC

NewsArchive
06-02-2009, 01:26 AM
Hi Ron,

"Set Access Control"

Grant Access

make a user EVERYONE by typing (S-1-1-0) - including the brackets and
checkmark the approroate

You may look at a thread in this NG named "Welcome to Babylon" at 21. Dec.
2008. Look for Janes and Friedrichs postings, some have screenshots that
show exactly what to do.

And yes, there is a looooong discussion about NOT to store data into a
subfolder of C:\Program Files.

Recommended is CSIDL_COMMON_DOCUMENTS\your_data if you need to give access
to more than one user.

Reminder: your data are readwritable for all users in these data-folders -
when you are with Vista and up. Under XP (and before) only the invoker as
RW permissions, so you have to grant access here too.

But with Janes description and screenshot its easy.

bye
Wolfgang



--
Grüße / Regards
Wolfgang Orth

http://www.odata.de

KiK - Kompatibilität im Katheter
http://www.kik-service.de

KiK - Compatibility in Catheters
http://www.kik-service.de/?English_Description




Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

NewsArchive
06-02-2009, 01:26 AM
Thanks Wolfgang,

All good stuff

--
Ron Childs
C6.3 9056 ABC