j...@byron ~
$ mount -o noacl //necker/jon /home/jon
mount: warning - /home/jon does not exist.
mount: defaulting to '--no-executable' flag for speed since native path
       references a remote share.  Use '-f' option to override.

j...@byron ~
$ mount -m
//necker/jon /home/jon smbfs binary,noexec,noacl,user 0 0
none /cygdrive cygdrive binary,posix=0,user 0 0

I want this to be permanent, so I edit /etc/fstab to add a copy of the line:
//necker/jon /home/jon smbfs binary,noexec,noacl,user 0 0
close the window, and open another shell, which then says

      3 [main] bash 3460 read_flags: invalid fstab option - 'noexec'

(Curiously only a cmd.exe shell seems capable of showing this, MinTTY doesn't which caused me some confusion initially)

Editing /etc/fstab to use 'notexec' instead works as expected, although I am not sure what is wrong here: the fstab parsing, the output of mount -m or my expectations.

I don't know what mount is referring to in it's output about the '--no-executable' flag, that name doesn't seem to exist at all.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to