[ale] mount --bind as user

James Taylor jtaylor at fantasylane.net
Fri May 31 11:19:52 EDT 2002


The user actually does the orginal mount as part of their profile when
they login.  I'm trying to provide the equivalent of "mapping"
subdirectories so that the user will have the same server file structure
in their home directory as they had on a windoze client.
The user already owns the mouint points and the mounted file system.
Because I want the logins to be portable, each user that logs into the
linux box should get their own view of the file system in their home
directory.  I'm not sure entries in fstab would accommodate this.

-jt 

James Taylor
The East Cobb Group,Inc
678-560-9702
james.taylor at eastcobbgroup.com

>>> Mike Panetta <ahuitzot at mindspring.com> 05/31/02 12:48AM >>>
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.


---
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