Hi, see http://www.rebol.com/docs/core25.html
Here are a few starters (for Unix, the applicable modes may differ on different OS's) ;---Check what modes you can set: >> probe get-modes %test.file 'file-modes [status-change-date modification-date access-date owner-name group-name owner-id group-id owner-read owner-write owner-execute group-read group-write group-execute world-read world-write world-execute set-user-id set-group-id full-path] ;---Check what modes are set for a file: >> probe get-modes %test.file [ owner-read owner-write owner-execute group-read group-write group-execute world-read world-write world-execute ] [owner-read: true owner-write: true owner-execute: false group-read: true group-write: false group-execute: false world-read: false world-write: false world-execute: false] ;---Set a new mode for a file: set-modes %test.file [ owner-execute: true ] Brgds /Micael -----Ursprungligt meddelande----- Fran: Tom Foster [mailto:[EMAIL PROTECTED]] Skickat: den 14 maj 2002 15:24 Till: [EMAIL PROTECTED] Amne: [REBOL] permissions reminder? Hey guys, A long time ago, in a galaxy far, far away, someone posted an example of how to set file permissions with rebol, as in: chmod 755 file.r Could someone please help me locate the old post, or just tell me how it's done? Thanks, -tom -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
