Results 1 to 5 of 5

Thread: Permission denied for .bin file

  1. #1
    Join Date
    Jun 2008
    Location
    United States
    Posts
    423

    Default Permission denied for .bin file

    Hey guys,

    I downloaded a .bin file yesterday and I ran into a very weird problem. I downloaded the .bin file and issued the chmod command (chmod +x Savage2Install-1.5.0-i686.bin) to give the file executable permissions, and even changed the permissions to 777 (under both my username and as a root user). I check the permissions, and the permissions for the file are now -rwxrwxr-x. Which means I should be able to execute the file, but when I try (with the command ./Savage2Install-1.5.0-i686.bin), both as a normal user and as a root user, I get the following message:


    bash: ./Savage2Install-1.5.0-i686.bin: Permission denied


    Am I doing something wrong?

    Thanks for your help!

    Folding@Home
    Help save lives with Folding@Home

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Permission denied for .bin file

    Quote Originally Posted by Unseen-Ghost
    Hey guys,

    I downloaded a .bin file yesterday and I ran into a very weird problem.
    I downloaded the .bin file and issued the chmod command (chmod +x
    Savage2Install-1.5.0-i686.bin) to give the file executable permissions,
    and even changed the permissions to 777 (under both my username and as a
    root user). I check the permissions, and the permissions for the file
    are now -rwxrwxr-x. Which means I should be able to execute the file,
    but when I try (with the command ./Savage2Install-1.5.0-i686.bin), both
    as a normal user and as a root user, I get the following message:


    bash: ./Savage2Install-1.5.0-i686.bin: Permission
    denied


    Am I doing something wrong?

    Thanks for your help!
    Hi
    Just try with the sh command;
    Code:
    sh Savage2Install-1.5.0-i686.bin
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
    up 2 days 17:00, 2 users, load average: 0.12, 0.14, 0.16
    GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14


  3. #3
    Join Date
    Jun 2008
    Location
    United States
    Posts
    423

    Default Re: Permission denied for .bin file

    I got the file installed because I moved it to a different folder, but I think the real problem is that the partition the directory is in (which is not the normal /home partition for Linux) is not allowing me to change the permissions of the files and directories on it. I'm not sure how to change this, but I have seen this happen before. Does anyone know how to change the partition setup to allow me to change my file permissions?

    (Thanks Malcolm )

    Folding@Home
    Help save lives with Folding@Home

  4. #4
    Join Date
    Jun 2008
    Location
    United States
    Posts
    423

    Default Re: Permission denied for .bin file

    (Sorry for the double post)

    I forgot the mention the drive with these files on it is a NTFS drive.

    Folding@Home
    Help save lives with Folding@Home

  5. #5

    Default Re: Permission denied for .bin file

    Hi, to get permissions for an NTFS drive for all users, edit fstab and change your mount point line for that drive to:

    /dev/your_drive /your_mount_point ntfs defaults 0 0

    If you want more complicated permissions, you'd have to change defaults to what you want, like uid=1000 and stuff. After rebooting the new permissions should be in effect

    Hope that helps,
    Jonathan

Posting Permissions

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