SHARE
TWEET

Untitled

a guest Jul 12th, 2015 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo apt-get install pmount
  2.  
  3.  
  4. Add a file   automount.rules in /etc/udev/rules.d   with these lines
  5.  
  6.  
  7. ACTION=="add",KERNEL=="sda*", RUN+="/usr/bin/pmount --sync --umask 000 %k"
  8. ACTION=="remove", KERNEL=="sda*", RUN+="/usr/bin/pumount %k"
  9.  
  10.  
  11. Then run this:
  12. udevadm control --reload-rules
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top