I Cannot get this password prompt I wrote in Perl to automatically run when I insert my USB. I guess my UDEV rules are wrong. I made a file inside of the /etc/udev/rules.d/ directory, named it 50-udev.rules and added this
SUBSYSTEM=="usb", ACTION=="add", KERNEL=="sd??", RUN+="/path/to/program.pl",
but it will not work.
I have had a good read through the wiki and tried some autofs configs but I cannot seem to get what I want to work.I have an NFS server ( 192.168.0.10 ) with an exported directory ( /mnt/Files ) that I would like to automount on my local machine under /mnt/Files and to be mountable by any userI have edited /etc/autofs/auto.master to look like this:# Sample auto.master file
# Format of this file:
Some suggestions I can think of:Is the ntfs-3g package installed?The udev rules execute the RUN commands as root; so the command for ntfs disk will be:/bin/mount -t ntfs-3g -o rw,relatime,gid=100,dmask=000,fmask=111,utf8 /dev/devicename /media/dirnamewhich should result in 'root:users' owner:group (there is a gid value but no uid)and rwxrwxrwx for directoriesand rw-rw-rw- for filesBut on