Mega Code Archive
Categories
/
Ruby
/
File Directory
Set permissions on a new directory (not one that already exists) with mkdir
Dir.mkdir( "/Users/joe/sandbox", 755 )