PDA

View Full Version : [ubuntu] Installation of Adobe AIR: permission denied



qrwe
November 18th, 2009, 12:08 PM
Hi there,

I tried to install Adobe AIR, after downloading a file 'AdobeAIRInstaller.bin' from their download URL: http://get.adobe.com/air/. To my disappointment, I can't install it:


# chmod 777 AdobeAIRInstaller.bin
# file AdobeAIRInstaller.bin
AdobeAIRInstaller.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
# ./AdobeAIRInstaller.bin
-su: ./AdobeAIRInstaller.bin: Permission denied


..and can't figure out what's wrong. Has anyone succeeded in installing AIR? Please tell me how. Or if you might have an idea of what I've forgotten, please drop a message. Thank you!

renkinjutsu
November 18th, 2009, 12:20 PM
looks like it's trying to run "su" .. so it might work if executed as root, using sudo

but heck.. why would it need to run "su"?

qrwe
November 18th, 2009, 09:24 PM
No idea. Should have mentioned of course: I'm doing all this after running:

sudo su -
Any ideas?

renkinjutsu
November 18th, 2009, 09:54 PM
try with just

chmod +x file.bin

and

sudo ./file.bin

qrwe
November 19th, 2009, 09:05 AM
try with just

chmod +x file.bin

and

sudo ./file.bin

I've done that too; ran chmod 777 afterwards, which gives even more permission, to explain that it can't be done any further. A summary:

The file has rwx permission
I am doing everything as root
The file is owned by root
I'm doing all of this in a directory where I'm allowed to

Any ideas? I know it's tricky and I just hoped that someone had a problem with AIR too. You can go to the URL and try to install it too, it's a beautiful tool anyway.

kostkon
November 19th, 2009, 09:11 AM
Why not install the new Adobe Air 2 beta. It's working just fine and there is a deb on its download page for easy installation (http://labs.adobe.com/downloads/air2.html) (i.e. the deb file in the Adobe AIR 2 Runtime section)

qrwe
November 19th, 2009, 01:57 PM
Why not install the new Adobe Air 2 beta. It's working just fine and there is a deb on its download page for easy installation (http://labs.adobe.com/downloads/air2.html) (i.e. the deb file in the Adobe AIR 2 Runtime section)

Wow, that was definitely something I was looking for, worked immediately when installing it and then installing AIR apps!
It's strange that they haven't released any .deb-packages for the stable version, especially when they mention in a blog (official Adobe dev-blog) that their Linux products are mainly designed for SuSE, Redhat and Ubuntu. But it's not a concern for me anymore now. :-)
Once again: thanks everyone for your help!

PS. Wonder if I should mark this thread [SOLVED], there might be more AIR-issues for other fellows in the future and the subject is very general after all..

kostkon
November 19th, 2009, 02:52 PM
PS. Wonder if I should mark this thread [SOLVED], there might be more AIR-issues for other fellows in the future and the subject is very general after all..
Actually, your problem was simple, at least I believe so.

You didn't need to run it as root neither change its ownership. You only needed to make it executable and run it. It would have asked for your admin password later in the installation process.

qrwe
November 19th, 2009, 09:52 PM
You only needed to make it executable and run it.
That was what I did at first. When it didn't work, I went on with.. well, the rest. :-)