comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: create file that is readable only
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: create file that is readable only [message #73162 is a reply to message #73161] Thu, 28 October 2010 13:53 Go to previous messageGo to previous message
Truong Le is currently offline  Truong Le
Messages: 42
Registered: September 2010
Member
On Oct 28, 4:24 pm, David Fanning <n...@dfanning.com> wrote:
> Truong Le writes:
>> I need to know how I can create a new file from idl and that this new
>> file is readable only!
>
> You can use the FILE_CHMOD procedure to set file attributes
> however you like.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

but the FILE_CHMOD still allow me to modify the file if I agree to
modify it.

This is how I set it

FILE_CHMOD, filename, U_WRITE=0, G_WRITE=0,O_WRITE=0

Is there anyway we can set full restriction such that NO ONE is allow
to modify it?

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 8.0.1 Bugs Fixed
Next Topic: Orbit Calculation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:43:58 PDT 2025

Total time taken to generate the page: 0.48077 seconds