Results 1 to 9 of 9

Thread: V12.2, SU + permission denied

  1. #1
    Join Date
    Feb 2010
    Location
    nh,usa
    Posts
    154

    Default V12.2, SU + permission denied

    I'm trying to install some SW by doing

    dhcppc1:/home/rpm # ./solarisstudio.sh

    and get

    bash: ./solarisstudio.sh: Permission denied

    Is this a file permission issue?

    Thank you.
    Regards,

    RIH5342

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,868
    Blog Entries
    14

    Default Re: V12.2, SU + permission denied

    Please post output of
    Code:
    ls -l solaris*
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    dd NNTP User

    Default Re: V12.2, SU + permission denied

    On 01/12/2013 04:06 PM, rih5342 wrote:
    > dhcppc1:/home/rpm # ./solarisstudio.sh
    > bash: ./solarisstudio.sh: Permission denied


    is solarisstudio.sh executable?

    --
    dd

  4. #4
    Join Date
    Feb 2010
    Location
    nh,usa
    Posts
    154

    Default Re: V12.2, SU + permission denied

    First ---------------------------------------------------------

    ls -l solaris*
    -rw------- 1 david users 435216384 Dec 5 2011 solarisstudio.sh

    Second ----------------------------------------------------

    How do I determine if it is executable?
    Regards,

    RIH5342

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: V12.2, SU + permission denied

    Quote Originally Posted by rih5342 View Post
    First ---------------------------------------------------------

    ls -l solaris*
    -rw------- 1 david users 435216384 Dec 5 2011 solarisstudio.sh

    Second ----------------------------------------------------

    How do I determine if it is executable?
    It looks like you may need to run the terminal command:

    Code:
    chmod +x solarisstudio.sh
    or if owned by root:

    Code:
    sudo chmod +x solarisstudio.sh
    You may need to add a path in front of the file name as I do not understand in what folder it is located in. For help with file and folder attributes, have a look at my bash script helper on the subject you can find here:

    S.A.F.P. - SUSE Automated File Permissions - Version 1.0.4: https://forums.opensuse.org/blogs/jd...ion-1-0-4-113/

    Thank You for using openSUSE,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: V12.2, SU + permission denied

    On 2013-01-12 17:26, rih5342 wrote:
    >
    > First ---------------------------------------------------------
    >
    > ls -l solaris*
    > -rw------- 1 david users 435216384 Dec 5 2011 solarisstudio.sh
    >
    > Second ----------------------------------------------------
    >
    > How do I determine if it is executable?


    It is not, because there is no 'x' after the 'rw' above.

    I recommend you read a good book on unix or linux.

    --
    Cheers/Saludos
    Carlos E. R. (12.1 test at Minas-Anor)

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,171

    Default Re: V12.2, SU + permission denied

    And please, put CODE tags around all your copied/pasted computer text. Use the # button from the post editor to create tem.
    Henk van Velden

  8. #8
    Join Date
    Feb 2010
    Location
    nh,usa
    Posts
    154

    Default Re: V12.2, SU + permission denied

    I'm all set, thank you.

    This Forum is better than a book.
    Regards,

    RIH5342

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,171

    Default Re: V12.2, SU + permission denied

    Quote Originally Posted by rih5342 View Post
    This Forum is better than a book.
    That is only partly so. Because you added the x there, it works now. But do you now realy understand what those r, w and x (three sets of them) are for? The suggestion to read something about this is very usefull, else you have to come back here many times with permission problems. Instead of you coming back and asking us the same questions agaiin and again, we would love it when in due time you come back here helping others witrh their permission problems. That is how it should work here
    Henk van Velden

Posting Permissions

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