GG asked ... Fix food processor motor?    |    T asked ... How do I turn the delay off on Electrolux DX302 dishwasher?    |    Helen asked ... How can I mend my Kenwood Gourmet FP505?    |    Roy Turner asked ... Kohlangaz Gosford HE fire?    |    Peter asked ... How can I mend a Powerwasher PRO PRO1800PWE?    |    Click here to ask your question

How can I mount different folders per user with Ubuntu?

I have a netbook on which I have installed Ubuntu. (It's an experiment.) There are two users set up. Each has a My Documents Folder on another machine.

I have set up the cifs config in fstab with a separate credentials file for security. One user's folder is mounted perfectly when they login.

What I am struggling with is how to have separate fstab, and possibly credential file, so that the second user's folder can be mounted when they login. (I want to maintain the security and have each user unable to access the other's folder.)
Duke, September 2011
Disclamer:
I'm NOT a Linux/Ubuntu user. This information, while been somewhat relevant, may not be totaly correct.


When using Ubuntu, or any Linux distro, each user have his own separate home folder. That folder contains all of his personal configurations and is totaly invisible to all other users except the administrator, also known as "super user" or su.
Compared to Windows, the default acount is a regular user acount with limited rights.

The cifs config of a given user should reside in his home folder. That way, it's only used, and accessible, when that user is loged in.
When loged in as super user, you should lock that file so that the user can't change it and stay limited to the areas that are alowed to him.

From the second user acount, do the search and mounting of his personal remote folder.

You should access some Linux and Ubuntu forum to get more thourough and specific informations.

Electro, October 2011