Default permissions

Daryl Tester daryl.tester at
Fri Sep 8 06:21:31 CST 2006

Michael Cohen wrote:

>  You have 3 options:
>  - rethink why you need execute permissions on a data file (this could be a
>  security risk).
>  - recompile the application that generates the files with the required flags
>  (see man 2 open).
>  - Write a little cron job to fix the permissions periodically.
If you can't recompile the application (lack of source, etc), and it's dynamically
linked to libc, write a preload library to intercept the call to open and use the
mode of your choice.

More information about the linuxsa mailing list