[Gambas-user] chmod?

tobias tobiasboe1 at ...20...
Sun Jan 15 16:37:15 CET 2012


Jussi Lahtinen schrieb:
> Great!
> Are these new commands, IDE features, etc going out in stabile Gambas
> version any soon?
> Meaning are these example for version 3.1 or 4..?
> 
> Jussi
> 
> 
> 
> 
> 2012/1/15 Benoît Minisini <gambas at ...1...>
> 
>> Le 06/01/2012 01:47, bbruen at ...2308... a écrit :
>>> Quoting tobias<tobiasboe1 at ...20...>:
>>>
>>>> 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
>>
>>

they're listed as "Only in 3.1 version" in the doc.




More information about the User mailing list