Hi Jason,

For example, if you want to chmod 764 %filename :

set-modes %filename [
    owner-read:    true
    owner-write:   true
    owner-execute: true
    group-read:    true
    group-write:   true
    group-execute: false
    world-read:    true
    world-write:   false
    world-execute: false
]

HTH,

-DocKimbel

Jason Cunliffe wrote:
> 
> "Nenad Rakocevic" <[EMAIL PROTECTED]> wrote
> > This should help : http://www.rebol.com/docs/core25.html (section 1.2
> Modes Available)
> 
> aha.. thanks
> <quote>
> owner-read, owner-write, owner-delete, owner-execute, group-read,
> group-write, group-delete, group-execute, world-read, world-write,
> world-delete, world-execute: REBOL logic. All -read, -write and -execute
> modes are available in Unix, BeOS, QNX and Elate. owner-read, owner-write,
> owner-execute and owner-delete are available in AmigaOS. All group- and
> world- modes are available in AmigaOS >=V39. owner-write is also available
> in Windows (mapped to the inverse of the Windows "read-only" bit).
> </quote>
> 
> But how do you set them?
> 
> - Jason
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to