lkml.org 
[lkml]   [2001]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smbmount problems
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/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.033 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site