Results 1 to 7 of 7

Thread: Permission denied when trying to run ./setup as root

  1. #1
    Join Date
    Sep 2010
    Beans
    2

    Permission denied when trying to run ./setup as root

    Hello,

    I am trying to install COMSOL 4a in Ubuntu 10.04 and when I try to run ./setup and I am already connected as root the command line gives me a permission denied error...

    Thanks for the help!

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,349
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Permission denied when trying to run ./setup as root

    Is the script executable? If not, then you'll need to make it executable.

    Code:
    chmod u+x filename

  3. #3
    Join Date
    Sep 2010
    Beans
    2

    Re: Permission denied when trying to run ./setup as root

    Thanks it worked! But now I get the following error when I run ./setup

    ./setup: 497 /home/...../COMSOL4a/bin/glnx86/setuplauncher: Permission denied

    I tried locating the setuplauncher and changing the permissions as with the setup but it did not work.

    Thanks again!

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,349
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Permission denied when trying to run ./setup as root

    A quick search revealed this.

    http://www.comsol.com/support/knowledgebase/1086/

    If you don't find anything there I'd suggest getting in touch with their technical support.

  5. #5
    Join Date
    Sep 2011
    Beans
    2

    Re: Permission denied when trying to run ./setup as root

    Quote Originally Posted by rafaeluprm View Post
    Hello,

    I am trying to install COMSOL 4a in Ubuntu 10.04 and when I try to run ./setup and I am already connected as root the command line gives me a permission denied error...

    Thanks for the help!

    Hello
    Try to lunch the setup from the root (it's work for me)

    sudo -i

    (path to the setup file) sh setup

  6. #6
    Join Date
    Sep 2011
    Beans
    2

    Re: Permission denied when trying to run ./setup as root

    Hi,

    I have a problem, when I install Comsol 35a on Ubuntu 64 bit. everthing was fine

    when I run comsol I have the error message

    comsol: 2345: /COMSOL35/java/glnxa64/jre/bin/java: Permission denied

    I try to change permission , but all the file remain with the same attributes
    any idea to help

  7. #7
    Join Date
    Nov 2010
    Beans
    271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Permission denied when trying to run ./setup as root

    I try to change permission , but all the file remain with the same attributes
    Are the files on an ntfs partition? if so, try moving them onto a ext partiton and then set the permissions.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •