permissions for external hard disk on Fedora 22 [message #91606] |
Wed, 05 August 2015 01:32  |
Induja Shaji
Messages: 6 Registered: June 2015
|
Junior Member |
|
|
Hi..
I am compiling a fortran code which is saved in a external hard disk connected to my laptop(with fedora 22 OS). After compiling the output file created is not an executable one. it shows like,
$ ./hist
bash: ./hist: Permission denied
Now I tried to change the mod with
$ chmod 777 hist
then, it doesn't shows any error, but still the file is not executable.howcaniresolvethis?
|
|
|
|
Re: permissions for external hard disk on Fedora 22 [message #91608 is a reply to message #91606] |
Wed, 05 August 2015 03:31  |
Lajos Foldy
Messages: 176 Registered: December 2011
|
Senior Member |
|
|
On Wednesday, August 5, 2015 at 10:32:35 AM UTC+2, Induja Shaji wrote:
> Hi..
> I am compiling a fortran code which is saved in a external hard disk connected to my laptop(with fedora 22 OS). After compiling the output file created is not an executable one. it shows like,
>
> $ ./hist
> bash: ./hist: Permission denied
>
> Now I tried to change the mod with
>
> $ chmod 777 hist
>
> then, it doesn't shows any error, but still the file is not executable.howcaniresolvethis?
Security. Untrusted sources (CDs, pen drives, etc) are mounted noexec.
sudo mount -o remount -o exec /dev/...
regards,
Lajos
|
|
|