[mojosetup] First shot at documentation...

Timothee Besset ttimo at idsoftware.com
Fri May 18 19:26:47 EDT 2007

Ryan C. Gordon wrote:
>> - the executable bit is not propagated (I am not using any archive, just
>> a wildcards = "*")
> (As a note, you can just omit the "wildcards" attribute if you want to 
> install everything...wildcards is mostly meant for culling files to be 
> installed from the directory or archive.)
> The permissions thing is fixed in svn revision #284. You can now force 
> specific permissions for a Setup.File element, or in a filter 
> function...files coming from a real directory will still come in as 0644 
> by default, because of the way Linux handles iso9660 discs, so if you 
> need to set something executable or whatnot, you can either wrap files 
> in a .zip or .tar, use a filter function, or Setup.File.permissions...if 
> you just want to set one or two files, the filter function is probably 
> most efficient.

Well, if you zip and >> mojosetup to get a self executable thing to distribute, the permissions are maintained without having to do a filter or 
Setup.File.permission .. if that was not intentional we should make sure it remains that way, because it's handy :)


> Documentation on how to do this is here, in the green sections:
> http://svn.icculus.org/mojosetup/trunk/docs.txt?view=diff&r1=284&r2=283&p1=trunk/docs.txt 
> (ignore the several bad grammar errors, I'm fixing those.  :)   )
> --ryan.

More information about the mojosetup mailing list