Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a service on my Windows 7 / Ubuntu 13.04 dual boot machine. My service lives on an NTFS partition. It is written in Java and should work on both platforms. Just to make things clear, my Linux start script is a bash script.


UUID=E24E8DDC4E8DAA3D /media/nelson/data                  ntfs   users,defaults 0 0


lrwxrwxrwx 1 root root 80 Apr 14 14:15 /etc/init.d/mqld -> /media/nelson/data/linux/nelson/NetBeansProjects/CoreEngine/dist/etc/init.d/mqld*

But when I start my service it says:

sudo service mqld start
mqld: unrecognized service

sudo /etc/init.d/mqld start
sudo: unable to execute /etc/init.d/mqld: Permission denied

Permission denied, what permission can I be more than root?

EDIT: The point is, that an executable (here a bash script) can not be exceuted as root (permission denied). Because of the only reason that the symlink points to a file on a ntfs partition. What can I do to start services on a nfts partition - i.e. different mount options?

share|improve this question
up vote 0 down vote accepted

Finally I figured it out. It is in fact a mounting option (exec). Now my fstab looks like this and it works all pretty fine.

UUID=E24E8DDC4E8DAA3D /media/nelson/data                  ntfs   users,defaults,exec 0 0
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.