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 #73258 is a reply to message #73162] Thu, 28 October 2010 14:26 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<1347e64f-ed53-44e1-90fc-1b82cd543a10@l17g2000yqe.googlegroups.com>,
Truong Le <truongvle@gmail.com> wrote:

> 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!

The Unix shell normally prompts the user before deleting a file
that has write permission turned off, but other applications do
not necessarily do so.

On a Unix system, to make certain that you cannot delete a file that
you own, you need to turn off write permission for the
directory that contains the file in question.

Ken Bowman
[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 01:17:24 PDT 2025

Total time taken to generate the page: 0.08218 seconds