> Am 16.04.2016 um 15:22 schrieb Wolfgang Engelmann 
> <[email protected]>:
> 
> 
> 
>> On 16.04.2016 14:56, Richard Heck wrote:
>>> On 04/16/2016 04:47 AM, Wolfgang Engelmann wrote:
>>> 
>>> 
>>>> Am 16.04.2016 um 10:42 schrieb Wolfgang Engelmann:
>>>> 
>>>> 
>>>>> Am 16.04.2016 um 08:58 schrieb Guenter Milde:
>>>>>> On 2016-04-15, Scott Kostyshak wrote:
>>>>>> On Fri, Apr 15, 2016 at 12:02:16PM +0200, Wolfgang Engelmann wrote:
>>>>> 
>>>>>>> but still have no access:
>>>>>>> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we/Desktop/lyx-2.2.0rc1$ 
>>>>>>> ./configure
>>>>>>> bash: ./configure: Keine Berechtigung
>>>>> ...
>>>>> 
>>>>>> I have no idea why you get that error though. You should have write
>>>>>> access to that folder, the configure file itself is owned by you (we),
>>>>>> and the exec bit is set. I am stumped.
>>>>>> I would suggest trying to run a very simple executable:
>>>>>> 1. create a file on your desktop called "hello" with the following 
>>>>>> contents:
>>>>>> -----
>>>>>> #!/bin/bash
>>>>>> echo "hello world"
>>>>>> -----
>>>>>> then run
>>>>>> chmod +x ./hello
>>>>>> ./hello
>>>>>> Does that work?
>>>>>> Regardless of the above, what is the exit code after you run ./configure
>>>>>> ?
>>>>>> To find that out, run the following immediately after:
>>>>>> echo $?
>>>>> Some Linux distributions/installations prevent running of files on certain
>>>>> devices, e.g. anything from an USB-stick because of security reasons.
>>>>> 
>>>>> /mnt/sdb/ looks like a removable device, so maybe you try after copying 
>>>>> to a
>>>>> hard disk or find the setting to enable executing from removable devices?
>>>>> 
>>>>> Günter
>>>> I have appended a screenshot in my last mail showing the hierarchy of 
>>>> myPC. I have an ssd harddisk (sda) AND a 2 TB harddisk (sdb) which serves 
>>>> as my home. Not sure whether this is the problem.
>>>> Wolfgang
>>> Forgot to say: sda and sdb are both in the PC, no external disk switched on.
>> 
>> Definitely try what Scott suggested. It may be that you cannot execute files 
>> from /mnt/sdb/.  I always disable execution from /tmp/ myself, and other 
>> systems do it for other devices. You could also try posting here the output 
>> of "findmnt /dev/sdb/".
>> 
>> Richard
> Tried Scotts proposals:
> 
> A.
> content of the hello file:
> 
> #!/bin/bash
> 
> echo "hello world"
> 
> 
> ~/Desktop$ ls -l ./hello
> -rwxr-xr-x 1 we we 31 Apr 16 10:03 ./hello
> 
> ~/Desktop$ ./hello
> bash: ./hello: Keine Berechtigung
> 
> 
> B.
> tried configure:
> ~/Desktop/lyx-2.2.0rc1$ ./configure
> bash: ./configure: Keine Berechtigung
> 
> $ ls -l ./configure
> -rwxr-xr-x 1 we we 408602 Apr 12 03:31 ./configure
> 
> C. tried Richards
> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$ findmnt /dev/sdb/
> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$
> (no output)
> tried:
> $ findmnt /dev/
> TARGET SOURCE FSTYPE   OPTIONS
> /dev   udev   devtmpfs rw,relatime,size=10240k,nr_inodes=911159,mode=755
> tired:
> $ findmnt /
> TARGET SOURCE    FSTYPE OPTIONS
> /      /dev/sda2 ext4   rw,relatime,errors=remount-ro,data=ordered
> 
> Does this give you some cues?
> Thanks for your time and help,
> Wolfgang

Another useful command to see if the mount flags are the culprit: mount. 

To get the configure command processed try: sh configure instead of ./configure 

Stephan 

Reply via email to