This is the mail archive of the
mailing list for the Cygwin project.
Re: SMBFS mount's file cannot be made executable
Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!
>> What is your cygdrive mount options? Because default is, apparently, "binary,posix=0,user".
> I have no idea where they are kept at, and how to change them.
This is, as I said, the DEFAULT.
To change them, edit /etc/fstab, add the desired line.
none /cygdrive cygdrive binary,posix=0,nouser 0 0
> Also, I couldn't make this work, anyways; yet I thought it should have worked:
>> > $ mount -o exec //coredev2/home/lavr /mnt
>> > $ mount
>> > //coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
>> > ...
>> > $ cd /mnt
>> > $ pwd
>> > /mnt
>> > $ gcc a.c
>> > $ ls -l a.exe
>> > -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
>> > $ ./a.exe
>> > -bash: ./a.exe: Permission denied
With best regards,
Wednesday, August 14, 2019 22:50:18
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple