Clearing read only flag

General questions regarding the usage of CodeLite
rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Clearing read only flag

Post by rajah »

Hi Eran/others,

Is it possible to clear the read-only flag on a file through Codelite?
I looked at the menu options and dont find it (unless I missed it).
I am opening the file in explorer to do it each time.
It would be nice if I can right click the file in the workspace view
and over ride the read only flag.

Thanks,
Rajah
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clearing read only flag

Post by eranif »

You should be able to save the file even if in read-only mode. CodeLite will prompt you for this (whether to continue or not), does it not working for you?

Eran
Make sure you have read the HOW TO POST thread
rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Re: Clearing read only flag

Post by rajah »

Hi Eran,

yes, it prompts me, but fails to save the changes. I have to go to
explorer and uncheck read only flag. The files are set to read only
by the version control software (MKS).

Thanks,
Rajah
eranif wrote:You should be able to save the file even if in read-only mode. CodeLite will prompt you for this (whether to continue or not), does it not working for you?

Eran
rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Re: Clearing read only flag

Post by rajah »

Hi Eran,

Did you get a chance to reproduce this at your end?
I tried it on a couple of PCs and I get the same prompt
"Failed to clear read-only flag".
I am using 2128 on Win XP SP2 from the distribution.

BTW, the files I am trying to over ride the readonly
flag are files 'locked' by version control software (MKS).

Thanks,
Rajah
rajah wrote:Hi Eran,

yes, it prompts me, but fails to save the changes. I have to go to
explorer and uncheck read only flag. The files are set to read only
by the version control software (MKS).

Thanks,
Rajah
eranif wrote:You should be able to save the file even if in read-only mode. CodeLite will prompt you for this (whether to continue or not), does it not working for you?

Eran
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clearing read only flag

Post by eranif »

Actually I did not had a chance to test it, will try it tomorrow

WBR,
Eran
Make sure you have read the HOW TO POST thread
gerardpuducul
CodeLite Enthusiast
Posts: 36
Joined: Mon Sep 08, 2008 5:11 pm
Contact:

Re: Clearing read only flag

Post by gerardpuducul »

Hy,

I have tha same problem ( codelight ver 2128 windowsxp sp2)

Have you found an issue?

Thanks
Post Reply