[ale] mount --bind as user

Mike Panetta ahuitzot at mindspring.com
Fri May 31 00:48:09 EDT 2002


Try adding this to your /etc/fstab:

/bind/from  /bind/to  bind  noauto,owner 0 0

I am not sure if that will work because the way it works for a device is
when you login the devices that your user is supposed to have control
over are given the ownership of that user (what file controls that
anyways?  Anyone know?).  Just check /dev/ttyX (the users logged in TTY)
as root before and after he/she logs in and you should see what I
mean...  I think in order for this to work without that mechanism in
place you may have to change the ownership of the bound directory to the
user who you wish to have access...

Tell me if that works.

Mike

On Thu, 2002-05-30 at 22:19, James Taylor wrote:
> I'm trying to remount a subdirectory from a mounted ncpfs filesystem,
> and if I use any user other than root I get the message "mount: only
> root can do that"
> 
> Is there any way to work around this?
> 
> I'm mounting from and to mount points under the user's home directory.
> 
> -jt
> 
> 
> 
> James Taylor
> The East Cobb Group,Inc
> 678-560-9702
> james.taylor at eastcobbgroup.com
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list