Bart schreef:
Hi David,
Look at the function definition:
Function FpChmod (path : AnsiString; Mode : TMode): cInt; inline;
The second parameter must be of type TMode, so you cannot use a "&" in it.
What does "&"755 do if you run chmode from terminal?
(What is the meaning of the ampersand in front of the 755 in this case?)
& means an octal number.
&777 seems a valid octal number and is used in this fpChmod example:
http://www.freepascal.org/docs-html/rtl/baseunix/fpchmod.html
Vincent
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus