chmod +x option was not working for me.
I am using redhat 5ent version, for external media entry is made
automatically in /etc/mtab file..Could anybody tell me how this auto mount
work.

Cheers
sonal

On Wed, Sep 30, 2009 at 9:38 PM, Shino Jacob <[email protected]> wrote:

>
> <Quote>
> I can compile (executable file a.out by default) my c and fortran
> programs in external media (USB and external hard disk).
> <Quote>
> check one of my entries in /etc/fstab
>
> /dev/sda1       /media/c        ntfs
>  rw,auto,user,sync,exec,shortname=mixed          0        0
> I have put "exec" to allow me to execute program from this drive.
> Hope this helps.
> for usb you might want to remount using -o and specify "exec"
>
>
> On Wed, Sep 30, 2009 at 6:18 PM, Ansal mon <[email protected]> wrote:
> >
> > Did you try "chmod +x <file-name>"? By default Linux system won't
> > preserve execution bit while copying to external media. So setting it
> > may help.
> >
> > >
> >
>
>
>
> --
> Miles to go before I Sleep
>
> >
>


-- 
****************************************

Sonal Kumar Jain
RF, Space Physics Laboratory
Vikram Sarabhai Space Centre
Trivandrum 695022
INDIA

Ph: +91 471 2562906 (O)
     +91 9388472745  (M)
alternative e-mail: [email protected]

--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to