<---- template headericclude ----->
Permission denied trying to install .run extension file
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    k13pt0 Guest

    Permission denied trying to install .run extension file

    Can anyone gimme guide lines to running a file with a .run extension. Im new to linux cant seem to find much on the subject doing searches. I keep getting a permmision denied in the terminal.

  2. #2
    Join Date
    Jan 2008
    Location
    Witham, Essex, UK
    Age
    36
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To get around the "permission denied" error, you must run the command as the "root" user:

    Code:
    [user@machine ~]$ su -
    Password: Your-root-password
    [root@machine ~]# your-command-here
    To return out of "root" user mode, just type exit .

    Edit

    The above command will elevate you to root-user status until you exit. To run a specific command with elevated permissions, just tag "sudo" to the start of your command, so for example:

    Code:
    [user@machine ~]$ nano /etc/X11/xorg.conf
    Will become:

    Code:
    [user@machine ~]$ sudo nano /etx/X11/xorg.conf
    For some commands like fdisk or lspci you need to have the root user's environment as well as the privileges, so use the "su -" command.
    Last edited by CraigWatson; 27th January 2008 at 05:32 PM.
    Personal Website | Windows to Linux - Tips from Experience

    Desktop - Galileo
    Dual-Boot: Fedora 13 x64, Windows 7 x64
    Intel Core2Quad Q6600 @3.6GHz, 8GB PC2-8500 DDR2, ATI HD4870, 23" @ 1920x1080 + 20" @ 1600x900 (both DVI-D), 2TB ICH10R RAID0 array, Custom Watercooling

    Laptop - MacBook 5.1 ('08 Aluminium)
    Dual-Boot: Fedora 13 x64, Apple OS X
    Intel Core2Duo, 2GB 1066MHz DDR3, nVidia 9400M, 13" LCD @ 1280x800, 160GB SATA

  3. #3
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try to change premissions to that file:
    Code:
    su -c chmod 777 $path_to_your_file.run
    Now, you'll be able to run this file like a normal user
    Last edited by jazzfan; 27th January 2008 at 05:57 PM.
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

  4. #4
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but that's not always smart: this above (both my and Watson's solutions) will give the x.run file full permissions to write over your files. So it would be smarter for you to first do:
    Code:
    su -c chmod a+rx $path_to_your_file.run
    which will only give permissions to read and execute file, but not permit writing anything.
    If you now run the .run file from terminal , you will see what and where is program trying to copy files.

    After you're sure it won't hurt you, do the command from my first post.
    Last edited by jazzfan; 27th January 2008 at 05:51 PM.
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

  5. #5
    k13pt0 Guest
    [K13pt0@ip68-2-59- ~]$ su -
    Password:
    [root@ip68-2-59- ~]# /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    -bash: /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run: Permission denied
    [root@ip68-2-59- ~]#

    Am i running doing this right?

  6. #6
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you made what I said you in my post?
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

  7. #7
    k13pt0 Guest
    [K13pt0@ip68-2-59-24 ~]$ sudo -c chmod 777 $/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    sudo: illegal option `-c'
    usage: sudo -h | -K | -k | -L | -l | -V | -v
    usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
    {-i | -s | <command>}
    usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
    [K13pt0@ip68-2-59-24 ~]$ /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    bash: /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run: Permission denied
    [K13pt0@ip68-2-59-24 ~]$


    I gotta be typing something wrong

  8. #8
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry, my bad
    look now, I correct it
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

  9. #9
    k13pt0 Guest
    Lol this is nuts I been trying to figure this out for awhile.

  10. #10
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so, it works now?
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

  11. #11
    k13pt0 Guest
    [K13pt0@ip68-2-59-24 ~]$ su - c chmod 777 $/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    su: user c does not exist
    [K13pt0@ip68-2-59-24 ~]$ su -c chmod 777 $/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    su: user 777 does not exist

  12. #12
    k13pt0 Guest
    No not working still get a permission denied

  13. #13
    k13pt0 Guest
    [K13pt0@ip68-2-59-24 ~]$ su -
    Password:
    [root@ip68-2-59-24 ~]# c chmod 777 $/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    -bash: c: command not found
    [root@ip68-2-59-24 ~]# chmod 777 $/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    chmod: cannot access `$/home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run': No such file or directory

    Your code worked Minus the "$" in fromt of my directory Thnks for your help

    [root@ip68-2-59-24 ~]# chmod 777 /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    [root@ip68-2-59-24 ~]# /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    STUBBED: ftell is 32 bit!
    at /home/timo/Build/mojosetup/fileio.c:246
    Last edited by k13pt0; 27th January 2008 at 06:13 PM.

  14. #14
    Join Date
    Jan 2008
    Location
    Witham, Essex, UK
    Age
    36
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    take the dollar out before the filename
    Personal Website | Windows to Linux - Tips from Experience

    Desktop - Galileo
    Dual-Boot: Fedora 13 x64, Windows 7 x64
    Intel Core2Quad Q6600 @3.6GHz, 8GB PC2-8500 DDR2, ATI HD4870, 23" @ 1920x1080 + 20" @ 1600x900 (both DVI-D), 2TB ICH10R RAID0 array, Custom Watercooling

    Laptop - MacBook 5.1 ('08 Aluminium)
    Dual-Boot: Fedora 13 x64, Apple OS X
    Intel Core2Duo, 2GB 1066MHz DDR3, nVidia 9400M, 13" LCD @ 1280x800, 160GB SATA

  15. #15
    Join Date
    Nov 2007
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    without the $ sign:
    Code:
    su -c "chmod 777 /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run"
    /home/K13pt0/ETQW-demo-client-1.1-full.r5.x86.run
    Last edited by jazzfan; 2nd April 2008 at 05:18 PM.
    Robi
    Woodworking ideas

    "Fedora -- All my bits are free, are yours?" - Jasse Keating
    "Because open sorce matters" - Joomla!
    "Be free" - KDE

Page 1 of 2 12 LastLast

Similar Threads

  1. permission denied when file transfer
    By zodehala in forum Using Fedora
    Replies: 3
    Last Post: 23rd April 2009, 09:13 PM
  2. permission denied to move a file, Fedora 10
    By baerb8 in forum Using Fedora
    Replies: 7
    Last Post: 25th December 2008, 03:36 AM
  3. FC5 named zone file permission denied
    By Donsoloway in forum Servers & Networking
    Replies: 2
    Last Post: 11th April 2006, 08:16 AM
  4. httpd: file permission denied.
    By Jing in forum Using Fedora
    Replies: 4
    Last Post: 22nd November 2004, 10:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]