Permission denied

Results 1 to 6 of 6
  1. #1
    Apprentice IgorIvanov is offline
    MemberRank
    Mar 2011 Join Date
    5Posts

    Permission denied

    Just installed ubuntu (On VMware) to fully create my own game server. I have everything ready with the database (Navicat).

    Everything works execpt to start the server.

    typing

    Code:
    root@ubuntu:~# cd root
    root@ubuntu:~/root# ./qd <-- The file i have to type to start the server with..
    All im getting is
    Code:
    cd: 2: can't cd to /root/authd
    ./qd: 3: ./authd: Permission denied
    cd: 5: can't cd to /usr/rain/gacd
    ./qd: 6 ./gacd: not found
    cd: 8: can't cd to /usr/rain/gdeliveryd
    ./qd: 9: ./gdeliveryd: not found
    cd:11: can't cd to /usr/rain/glinkd
    A really need some help because i want this to work as fast as possible 

    Notice: Updated, installed, all the files is located at root/root.

    I really really want a server that works :)

    It's jade dynasty, kinda noob on this side of coding-


  2. #2
    Crystal Moon goldrush is offline
    MemberRank
    Jul 2005 Join Date
    278Posts

    Re: Permission denied

    First of all why you install all files in /root ??

    anyway you need to set permission

    Code:
    chmod -R 0755 /usr/rain
    give thanks to xAtticusx

  3. #3
    Apprentice IgorIvanov is offline
    MemberRank
    Mar 2011 Join Date
    5Posts

    Re: Permission denied

    Where should i install it then xD?


    Alright i'll try that,

    Thanks

    ---------- Post added at 11:15 PM ---------- Previous post was at 10:40 PM ----------

    I tryed chmod -R 0755 /usr/rain

    But it still give me the message.


    Permission denied..

  4. #4
    Account Upgraded | Title Enabled! xAtticusx is offline
    MemberRank
    May 2010 Join Date
    EnglandLocation
    388Posts

    Re: Permission denied

    Not sure if it'll work, but try sudo ./qd.

  5. #5
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Permission denied

    You need to give permission to the start script, not only to the rain folder...

    chmod 0755 qd

    chmod 0755 stop

    And, chek in the stop... the command is "killall"... this is a program, if you doesn't have, the stop script will not work.

    so do this: nano stop

    change the killall to "pkill" (without quotes)

    Good Luck.

  6. #6
    Crystal Moon goldrush is offline
    MemberRank
    Jul 2005 Join Date
    278Posts

    Re: Permission denied

    move your /rain to /usr or try to set permission to /root/usr/rain or /root/rain where ever /rain is... fact is you need to set permission to rain folder and its contains

    if you are not sure where it should be open qd and read the location
    Last edited by goldrush; 22-03-11 at 07:36 PM.



Advertisement