Rohit wrote:
Hi,
I always see default perms on all files on my /windows/C* as executable ALSO. By default. And I can not change these - using chmod. So I feel that it is not a chmod but a mount issue/property.
What setting do I give in my fstab to make sure that the perms appear non-executable for windows files? Also, what settings to I give while creating an ISO image.
Benefit and hint : If you are taking files from an ISOfs [CD], or from Windows FS, or browsing .mp3/.divx files in such media, then if you are using mc, pressing enter does not launch an app to handle that file, but it tries to execute it. A thing that we do not want to do.
If I understood you correctly, umask=111 in fstab should do it. umask bits are 'denial bits' - umask=111 sets the permissions to 666. -- opinions personal, facts suspect. http://home.arcor.de/36bit/samba.html