[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ next ]

Debian CLI Policy (DRAFT)
Chapter 5 - File Permissions


Source code files (*.cs, *.vb, *.boo, etc) should be non-executable.

*.dll files (libraries) should be non-executable.

*.mdb files (debug symbols) should be non-executable.

*.exe files (applications) must have the executable flag (+x) set to be compatibile with binfmt (direct invokation like ./foo.exe).

To insure that the file permissions are right, you should call the following at the end of your install target in debian/rules:

           find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" | xargs chmod -x
           find debian/ -type f -name "*.exe" | xargs chmod +x

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ next ]

Debian CLI Policy (DRAFT)

Version 0.2.0

Mirco Bauer meebey@meebey.net
Brandon Hale brandon@smarterits.com