Discovered something interesting testing cifs.  When you mount cifs
with "user=your-username" instead of "username=your-username" you can
confuse mount about whether to allow executing files on the mount, at
least mount from util-linux 2.21.2 (libmount 2.21.0: selinux, debug)

Basically if you mount with "user=" this version of mount assumes it
is a non-root initiated mount and turns off exec (also sets nosuid and
nodev).  To workaround this if executing a program fails on a cifs
mount, you can mount specifying "username=" instead of "user=" or you
can simply append "exec" to the mount options.


-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to