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 #73161 is a reply to message #73160] Thu, 28 October 2010 14:01 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Oct 28, 4:53 pm, Truong Le <truong...@gmail.com> wrote:
> 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!

Inscribe the bits on stone - may not be properly immutable but
should withstand casual hacking....

Ciao,
Paolo
[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: Sat Oct 11 11:22:45 PDT 2025

Total time taken to generate the page: 0.95644 seconds