I am wresting with a mount question but getting nowhere.

Suppose that I want to mount a disk partition onto a subdirectory of
/home, but want it to be available only to one particular user. Is there
any way to effect this?

eg, I create a directory called /home/restricted, and then want to mount
a local disk partition containing an ext2fs file system:
        mount /dev/hda8 /home/restricted

When I do the mount, the ownership and permissions of /home/restricted
are now changed to root.root and rwxrwxrwx, regardless of what I have
set for the ownership / permissions of /home/restricted prior to the
mount.

How can I make it so that the partition mounted is accessible only to a
selected user?

Thanks.
nl




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to