Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Can't run executable file marked 777 on ext4 partition

  1. #1
    Join Date
    Apr 2012
    Beans
    13

    Question Can't run executable file marked 777 on ext4 partition

    Hi,

    I know this may sound like a total n00b question, but I screen the forum for this problem and no solution is working.

    I can't run an executable file on my Ubuntu 11.10 setup. This file is NOT a Windows file but a Linux executable. The file is marked as 777 and is located in my Home directory which is on an ext4 partition.

    When trying a double-click in Nautilus, I get "There is no application installed for executable files" and when I manually try to execute the file by typing "./filename" I get "bash: ./filename: Permission denied"

    My user has admin right and is the owner of the file.

    This very same file work perfectly when run by a different admin user or on my Mint 12 computer.

    My fstab look like this :

    Code:
    proc                                        /proc        proc  nodev,noexec,nosuid  0  0  
    UUID=087ed226-70aa-40c9-b861-5be4e4e7dc99   /            ext4  errors=remount-ro    0  1  
    /dev/mapper/cryptswap1                      none         swap  sw                   0  0  
    /dev/sda6                                   /media/sda6  ext4  users,user,user_xattr           0  0
    Any ideas?

    Thanks a lot in advance!

  2. #2
    Join Date
    Apr 2012
    Beans
    54
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't run executable file marked 777 on ext4 partition

    Can you show the output of an ls -l in the directory containing the executable?

  3. #3
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't run executable file marked 777 on ext4 partition

    Quote Originally Posted by JohnSuperDoe View Post
    .........
    This very same file work perfectly when run by a different admin user or on my Mint 12 computer.
    Is the Mint computer 32 or 64-bit, and is the Ubuntu system the same?
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  4. #4
    Join Date
    Apr 2012
    Beans
    13

    Re: Can't run executable file marked 777 on ext4 partition

    Quote Originally Posted by kiirokurisu View Post
    Can you show the output of an ls -l in the directory containing the executable?
    Hi kiirokurisu,

    Sure! Here it is:

    Code:
    -rwxrwxrwx 1 john john     4205 2012-04-11 13:58 com.living-e.timeEdition.plist
    -rwxrwxrwx 1 john john     2785 2012-01-06 10:14 com.living-e.timeEdition (UbuntuJob's conflicted copy 2012-04-11).plist
    -rwxrwxrwx 1 john john      992 2009-03-17 08:48 COPYING.txt
    -rwxrwxrwx 1 john john    35146 2008-09-25 06:23 LICENSE.txt
    drwxrwxrwx 4 john john     4096 2012-04-11 14:19 Resources
    -rwxrwxrwx 1 john john  7138124 2011-11-28 11:26 timeEdition1.1.6-linux.tgz
    -rwxrwxrwx 1 john john    19456 2012-04-10 15:55 timeEditionData.edb
    -rwxrwxrwx 1 john john    13312 2012-02-01 16:56 timeEditionData (UbuntuJob's conflicted copy 2012-04-11).edb
    -rwxrwxrwx 1 john john 11544655 2011-11-10 15:47 timeEditionLinux
    -rwxrwxrwx 1 john john  2306924 2009-05-01 09:40 timeEdition_Manual.pdf
    The executable is "timeEditionLinux"

    Thanks!
    Last edited by JohnSuperDoe; April 12th, 2012 at 01:48 PM.

  5. #5
    Join Date
    Apr 2012
    Beans
    13

    Re: Can't run executable file marked 777 on ext4 partition

    Hi dcstar,

    Quote Originally Posted by dcstar View Post
    Is the Mint computer 32 or 64-bit, and is the Ubuntu system the same?
    The Mint 12 computer is based on Ubuntu 11.10 64bit.

    The Ubuntu 11.10 which have the problem is 32 bit.

    Thanks!
    Last edited by JohnSuperDoe; April 12th, 2012 at 01:49 PM.

  6. #6
    Join Date
    Apr 2012
    Beans
    13

    Re: Can't run executable file marked 777 on ext4 partition

    I'm still clueless on how to fix this.

    Anybody saw a similar issue ?

  7. #7
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,698

    Re: Can't run executable file marked 777 on ext4 partition

    What's the output of these two commands?
    The first tells us your machine architeture, the second tells us the file type.
    Code:
    uname -a
    file timeEditionLinux

  8. #8
    Join Date
    Nov 2009
    Location
    Lake Wales Florida
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't run executable file marked 777 on ext4 partition

    Quote Originally Posted by JohnSuperDoe View Post
    Hi,

    I know this may sound like a total n00b question, but I screen the forum for this problem and no solution is working.

    I can't run an executable file on my Ubuntu 11.10 setup. This file is NOT a Windows file but a Linux executable. The file is marked as 777 and is located in my Home directory which is on an ext4 partition.

    When trying a double-click in Nautilus, I get "There is no application installed for executable files" and when I manually try to execute the file by typing "./filename" I get "bash: ./filename: Permission denied"

    My user has admin right and is the owner of the file.

    This very same file work perfectly when run by a different admin user or on my Mint 12 computer.

    My fstab look like this :

    Code:
    proc                                        /proc        proc  nodev,noexec,nosuid  0  0  
    UUID=087ed226-70aa-40c9-b861-5be4e4e7dc99   /            ext4  errors=remount-ro    0  1  
    /dev/mapper/cryptswap1                      none         swap  sw                   0  0  
    /dev/sda6                                   /media/sda6  ext4  users,user,user_xattr           0  0
    Any ideas?

    Thanks a lot in advance!
    To make a long story short try adding the exec flag to your external partition in fstab
    /media/sda6 ext4 users,user,user_xattr ,exec
    AMD FX-6200 - MSI 4.1Ghz- Nvidia GTX550Ti -12/GIG - 60GB-SSD/500 Sata - 12.04 - Gnome 3

  9. #9
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't run executable file marked 777 on ext4 partition

    Quote Originally Posted by JohnSuperDoe View Post
    Hi dcstar,



    The Mint 12 computer is based on Ubuntu 11.10 64bit.

    The Ubuntu 11.10 which have the problem is 32 bit.

    Thanks!
    You cannot run 64-bit binaries on 32-bit systems.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  10. #10
    Join Date
    Apr 2012
    Beans
    13

    Re: Can't run executable file marked 777 on ext4 partition

    Quote Originally Posted by The Cog View Post
    What's the output of these two commands?
    The first tells us your machine architeture, the second tells us the file type.
    Code:
    uname -a
    file timeEditionLinux
    Sure!

    uname -a:
    Code:
    Linux Ubuntu 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
    file timeEditionLinux:
    Code:
    timeEditionLinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped
    Thanks for your help!

Page 1 of 3 123 LastLast

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
  •