On Sat, 25 Aug 2001, VDA wrote:
> Fixed smbmount problems by carefully reinstalling kernel and samba.
That's nice.
> The only thing left is this:
> mount -t smbfs -o noexec //server/e /mnt
> does not honor noexec! All files appear rwxr-xr-x.
smbmount does not understand all flags that mount understands (including
options that mount considers standard). To change permissions you need to
set them with the fmask/dmask options.
smbmount should understand noexec and pass it to the mount syscall as
MS_NOEXEC. But it doesn't, and that's a bug.
Note that noexec does not affect the permissions, it simply makes it
impossible to actually execute things. The files can still have execute
permissions.
/Urban
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:17 EST