Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-06

RE: free pascal cross compiler from windows to linux

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jeff Pohlmeyer
When I read files off a floppy, they are often all copied with their executable bit set (which is annoying).

You should be able to control this by adding the "noexec" or "exec" option to the floppy entry in your /etc/fstab file:

/dev/fd0 /floppy auto noauto,user,noexec 0 0

Or from the command line (as root) :

umount /floppy
mount -o noexec /floppy
ls /floppy
umount /floppy
mount -o exec /floppy
ls /floppy

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Alan Mead
to Jeff Pohlmeyer
--- Jeff Pohlmeyer wrote 19 lines
> When I read files off a floppy, they are often all copied with > their executable bit set (which is annoying). You should be able to control this by adding the "noexec" or "exec" option to the floppy entry in your /etc/fstab file: /dev/fd0 /floppy auto noauto,user,noexec 0 0 Or from the command line (as root) : umount /floppy mount -o noexec /floppy ls /floppy umount /floppy mount -o exec /floppy ls /floppy

Cool, I'll give this a try.

-Alan

=====
A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. "

"But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it."

"This is my position, and I will not compromise."

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com