--- On Wed, 22/6/11, Rajesh kumar <[email protected]> wrote: > > Here is my requirement, > I am developing an application that manages external > drives. > When a user plugs any usb storage, it prompts the > administrator ie the > server. > Only the administrator can mount the device either in read > mode or in write > mode. > > I was successfull in alerting the administrator but still > fails in mounting. > > By disabling automount and using the step 2. I can make the > device cant be > seen but not mount. > The problem is that the device is getting mounted if i > click the icon > present in places>8gb drive etc. so how can i prevent > mounting device even > if it is clicked. > In debian only people in plugdev group can mount plug-in storage devices.
I think you should look at who are members of plugdev group and/or tinker with udev rules normally found at /etc/udev/. Raman.P blog:http://ramanchennai.wordpress.com/ _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
