Le 06/01/2012 01:47, bbr...@paddys-hill.net a écrit :
>
> Quoting tobias<tobiasb...@web.de>:
>
>> hi,
>>
>> i can't find any interface (except Extern or Exec) to chmod(2) in
>> gambas. is there one? i think there should...
>>
>> regards,
>> tobi
>
> I was going to say Stat.Perm but I had never realized that it is read only.
> I agree that there should be one.
> Bruce
>

In revision #4401, I added three new instructions:

- CHMOD to change the file permissions.
- CHOWN to change the file owner.
- CHGRP to change the file group.

Moreover, Stat.Auth is a new property that returns the file permissions 
as a string, using the same syntax as the CHMOD instruction.

For more details, see the wiki.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to