On Mon, 3 Feb 2003, Franklin Maurer wrote:
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.
You probably have something like /dev/hd?? /windows/? default auto,rw,exec,user 0 0
I have it this way [memory only][manual line written] /dev/hda1 /windows/C vfat noauto,user 0 0 I guess there must be something like setting a umask for the partition that I am trying to mount. [which would tell me about attributes of a file in a filesystem which can not handle modes for user/group/others]. Setting a partition noexec shall probably not let me execute that file, even if the file is shown as chmod'ed to a+x. I shall try and let you know. Meanwhile, if there is anyone who knows what I am asking for help about, do let me know. Thanks Franklin. Rohit ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com