: :

Add Comment | Related Links | TrackBack
Related Content

Ubuntu: Enable Execution on FAT and NTFS Volumes

The first thing I noticed, after using Ubuntu 12.10, was that I couldn't execute shell script off a USB drive. One trick I had used in the past few years was to automate the setup of new OS installs via scripts on a portable USB drive. Ubuntu 12.10 eliminate my ability to do that by disallowing execution of my installation BASH script in the kernel in the name of security.

Really!? When is my computer ever going to face such a security risk? By putting someone's virus-infected USB drive into my single-user computer?

After searching around online, I was able to find a way to patch the Ubuntu kernal to allow execution on FAT and NTFS volumes (majority of USB drive format). It basically patch the udisks daemon. I wrapped the commands in a brainless BASH script so that you can I can easily run it on any Ubuntu installation. The script is attached below.

This script has been tested on Ubuntu 12.10. It is possible that it will work on other versions of Ubuntu or Linux, but it hasn't been tested in that manner. Use it at your own risk or modify it so that it works for you.

Attached File: Enable Execution on FAT and NTFS.bash (2 KB)

Chieh Cheng
Fri, 31 May 2013 02:42:07 +0400

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Ubuntu 13.04: Executing Shell Scripts From Samba Share
Weblog: GearHack
Excerpt: Ubuntu 13.04 has really made it difficult to execute shell scripts from a network share. After mounting a Windows network share in Nautilus (Ubuntu's default file manager), you can't do anything with the shell scripts other than loading them up in a text editor. If you create a desktop file (file wi . . .
Tracked: Fri, 31 May 2013 03:46:19 +0400

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 3 + 3?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

108 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.