On Dec 8, 2007, at 12:20 AM, el stamatakos wrote:

Hi All,
I changed the subject of the e-mail. I would like to create a file at run time that has

Owner(Read,write,Execute)
Group(Read,Execute)
Others(Read,Execute)

How do I accomplish this. I created the file using
Assign
Rewrite
CloseFile


You may use both fpChown and fpChmod

http://www.freepascal.org/docs-html/rtl/baseunix/fpchown.html
http://www.freepascal.org/docs-html/rtl/baseunix/fpchmod.html



Thanks
Best,
Lefti



--
Damien Gerard
[EMAIL PROTECTED]

People who used magic without knowing what they were doing usually came to a sticky end. All over the entire room, sometimes.
    -- (Terry Pratchett, Moving Pictures)



Reply via email to