Page 1 of 2 12 LastLast
Results 1 to 10 of 23

Thread: "allow executing file as program" automatically unchecks

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Beans
    7

    "allow executing file as program" automatically unchecks

    Trying to test a game via wine in a Windows directory. Cannot edit anything in the "properties" menu. Anything I change automatically resets itself. Cannot set program to executable so I can't run it to test it.

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: "allow executing file as program" automatically unchecks

    Seems like you've got the noexec flag in the mount properties in fstab.

    Can you please post the output from /etc/fstab?

    Code:
    gksudo gedit /etc/fstab
    Copy/paste carefully. Donot change anything in the file or you might screw your system.
    Last edited by sikander3786; October 20th, 2010 at 06:24 PM.

  3. #3
    Join Date
    Oct 2010
    Beans
    7

    Re: "allow executing file as program" automatically unchecks

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda3 during installation
    UUID=68e8d011-ed80-46ae-8676-4038926f6644 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=a9c07eaf-9f93-4efe-aa0a-f417dc125868 none swap sw 0 0

  4. #4
    Join Date
    Jan 2009
    Location
    South Carolina
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "allow executing file as program" automatically unchecks

    Have you tried this yet?

    Code:
    chmod +x filename

  5. #5
    Join Date
    Aug 2009
    Location
    West Union, SC
    Beans
    17
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: "allow executing file as program" automatically unchecks

    Quote Originally Posted by ubudog View Post
    Have you tried this yet?

    Code:
    chmod +x filename
    Same problem, except I'm using a Linux executable file and chmod +x doesn't work because when I attempt to run it I get the 'permission denied' error x|

    Meh, this is shameful because I've been a proud Linux user and now Ubuntu's being paranoid and permission deadlocked as I remember Vista being before I got fed up with it and switched to Linux. Deja vu. x|

  6. #6
    Join Date
    May 2007
    Beans
    19

    Re: "allow executing file as program" automatically unchecks

    I had this happen to me in 10.10. The issue seems to be with the newest udisk.

    To fix open synaptic (system - admin -synaptic). Check your udisk version number. See if there is a newer version available. If there isn't you'll want to go to:

    https://launchpad.net/ubuntu/lucid/+package/udisks

    Download the version for your computer, probably the one found in
    udisks 1.0.1-1build1 in i386 (Release).

    Eject all usb devices. Download to desktop, open a terminal and do a force install. sudo dpkg --force-overwrite -i nameofpackage.deb

    Plug in USB again. Check to see if you can make programs executables. I use Floola to manage my ipod and thats the one I checked. If it works, open synaptic and lock the udisk version.

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: "allow executing file as program" automatically unchecks

    Quote Originally Posted by sikander3786 View Post
    Seems like you've got the noexec flag in the mount properties in fstab.

    Can you please post the output from /etc/fstab?

    Code:
    gksudo gedit /etc/fstab
    Copy/paste carefully. Donot change anything in the file or you might screw your system.
    Use gksudo instead on sudo for graphical apps.
    Last edited by CharlesA; October 20th, 2010 at 06:27 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Jan 2009
    Location
    South Carolina
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "allow executing file as program" automatically unchecks

    Or you could use a command-line editor, like joe. But yeah, for graphical apps, gksu or gksudo is best.

  9. #9
    Join Date
    Oct 2010
    Beans
    7

    Re: "allow executing file as program" automatically unchecks

    The same thing comes up when I use gksudo as it does in my first reply.

    chmod +x gives me bash: syntax error near unexpected token `('

  10. #10
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: "allow executing file as program" automatically unchecks

    Use gksudo instead on sudo for graphical apps.
    Point well noted I have updated the code accordingly.

Page 1 of 2 12 LastLast

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
  •