On Sunday 23 April 2006 23:06, kghosh wrote:
> On Wed, 2006-04-19 at 07:56 +0530, Shridhar Daithankar wrote:
> > Add 'users' option in /etc/fstab so that any user can mount/unmount the
> > filesytem and add a relevant umount/mount command sequence to the
> > ~/.bashrc for the user so that the filesystem is mounted whenever user
> > logs on. And of course being the mounting user (s)he gets full access to
> > the filesystem.
>
> In /etc/fstab, I tried the following, along with
> 'mount /dev/sda3 /mnt/sda3' in ~/.bashrc -
> a. rw,exec,noauto,users --> no user is able to mount at login, only root
> can do that.
> b. rw,exec,auto,users --> mounted readonly for all users at login,
> belongs to root, no user gets to write or execute.

Are permissions of /mnt/sda3 are such that any user can read/write/execute to 
them?

Also it would require noauto. And in .bashrc, unmount first before mounting.

HTH

Shridhar


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to