Thread: making ./ work
View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#8
Originally Posted by oneat View Post
is it possible to make MyDocs executable ?
Yes, if you edit /etc/fstab and apply the following changes to the MyDocs line (usually starting with /dev/mmcblk0p1):
  • Replace "noexec" with "exec" (allows execution)
  • Replace "fmask=0133" with "fmask=0033" (sets the +x bit for the owner of the file)

After the changes, you have to reboot for the changes to take effect (you could also just umount and mount it, if no application is using files on MyDocs).

This will make all files on MyDocs executable by default. This can be a security hazard. Use it with caution! If you don't know the security implications, please don't do that and simply copy files to $HOME instead. You have been warned.
 

The Following 3 Users Say Thank You to thp For This Useful Post: