[Apparmor-general] x access for all files served by apache?!
Carlos E. R.
robin.listas at telefonica.net
Thu Jan 17 06:37:48 MST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El 2008-01-13 a las 17:34 +0100, Christian Boltz escribió:
> ls -l output:
> -rwxrwxr-x ... gsttopcontent_defaultlink_icon.gif
>
> Well, x permissions for a gif image are crazy, but there are people out
> there that have even better ideas than murphy: customers ;-)
:-)
This is not the topic of the list, but I think I know why they do so. I'll
explain.
I noticed that linux users were sending me text files (.po gettext files)
with execute permissions, and I wondered why.
Users have such things as usb sticks, which come formatted as vfat, and the
default in linux is to mount them with execute permissions, both for files
and directories. IMO, that is crazy.
This could be solved if vfat mounts had the options
"fmask=0117,dmask=0007" or similar set by default.
Another cause for this weird executable files are samba shares. I guess a
similar measure could be applied by default, too.
Whom should be told about this, I dunno.
- --
Saludos
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHj1ottTMYHG2NR9URAq1HAKCU96p4U/ivVezgBKDbHvmD2Wl4AACfaZIN
UYcHrjP8z1HhX4hOJSMF0+0=
=ndP+
-----END PGP SIGNATURE-----
More information about the Apparmor-general
mailing list