|
[Sponsors] |
script Allrun doesn't work after beeing copied on another disk hard drive |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2012, 18:14 |
script Allrun doesn't work after beeing copied on another disk hard drive
|
#1 |
New Member
Romain
Join Date: Jun 2010
Location: Lyon
Posts: 28
Rep Power: 16 |
Hello,
I have a little problem with my Allrun file. When I am in the installation folder (/opt/openfoam210/tutorial/...) everything work just fine. If I copy it on another space in the same hard drive (/home/.../Desktop), it is still working. But if I try to copy it on another drive (/media/data/test/) I cannot run this script anymore. I tried to use chmod +x Allrun (Allrun.sh does not exist!) but it is not working. Anyone can help me on this little issue ? I think that it is more linux related than openfoam, but I am stuck. Thanks in advance. |
|
September 11, 2012, 18:20 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Romain,
Do you know what's the format of "/media/data/test/"? NTFS or ext3 or ext4 or FAT32? Or in other words: are you able to open the disk at "/media/data/test/" in Windows? If so, then that might be why it's not working. NTFS doesn't handle "is this executable or not" permissions. Either way, try running the script with either one of the following commands: Code:
bash ./Allrun sh ./Allrun Bruno
__________________
|
|
September 12, 2012, 03:59 |
|
#3 |
New Member
Romain
Join Date: Aug 2012
Posts: 12
Rep Power: 14 |
Hello Bruno,
it is a NTFS hard drive, so I will try bash ./Allrun sh ./Allrun and if it is not working I will format my drive in fat32. Thanks. |
|
September 12, 2012, 16:16 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Romain,
FAT32 suffers from the same defect, namely it doesn't preserve the executable flags that Linux uses on ext2/3/4. Honestly, all of this really depends on what you need to do:
Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF issue | MASOUD | Fluent UDF and Scheme Programming | 14 | December 6, 2012 14:39 |
Simulation inside a hard disk drive | leeteckwei1988 | FLUENT | 2 | April 3, 2012 10:59 |
Hard drive storage and .cfx vs .def files | audrey | CFX | 5 | September 16, 2011 07:19 |
3D LES of Air Flow in Hard Disk Drive | Trinnapong | FLUENT | 0 | April 17, 2008 22:04 |
Hard Disk Access Time | steve podleski | Main CFD Forum | 35 | August 3, 2000 14:14 |