Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-20-2005, 03:00 AM   #16
LQ Newbie
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
umount problem

Dear All:
Below is my fstab file:
Label=/ / ext3 defaults 11
Label=/backup /backup ext3 defaults 1 2
Label=/boot /boot ext3 defaults 1 2
Label=/usr /usr ext3 defaults 1 2
Label=/var /var ext3 defaults 1 2
/dev/sda5 /swap swap defaults 0 0
/dev/hda1 /cheng ext3 noauto 1 2

Why i login as user and i still can access to /cheng directory?This is no mount during the boot time.

How to make other user unable to access and view this /cheng directory?
Old 03-20-2005, 03:52 AM   #17
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
chown root /cheng
chmod go-rx /cheng

Now only root can see /cheng directory.
Old 03-20-2005, 09:33 AM   #18
Registered: Mar 2005
Posts: 39

Rep: Reputation: 15
If the /dev/hda1 is no mounted,what will be happen?
Depends on what kind of data is stored on it.

What i want is when the user log in his/her username,then he/she only can access to their home directory,they can not go to other directory.How to do it?
In that case you have to set read,write permisions for the /home folder of each of the user. I think you have to do it manually for each user.can it be done automatically? I do not know. while adding user i thimk you can set the permissions.
Old 03-20-2005, 09:56 AM   #19
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Ok... I've merged the three posts about the same topic together. Please do not post the same question over and over again, it is a violation of our forum rules.

Last edited by jtshaw; 03-20-2005 at 10:00 AM.
Old 03-20-2005, 09:18 PM   #20
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
The last post you quoted is incorrect.
You DO mount/unmount file-systems .. file-systmes are created on disk partiontions so one may think you
are only mounting partiotions .. but you are mounting the file-system written into a partiontion..
you can create a file-system in a file and mount it too .. actually you can mount as many such fs ..

now that said .. the example you have given (of your fstab) ..
you will have to be root to mount this file-system .. for any user to be able to mount it .. you will have to
include the world "user" in the options ..

Your concern about privacy even from root can only be addresssed by encryption .. the suggestion of creating a group
and making the fs accessible by the group is a valid only if you are guarding from other users and not from root.

check /dev/dm (device mapper) .. that provides encryption .. earlier it used be called loop - device ( i think).

the process is entrely transparent after you set it up. you will be able to access it and no one else .. including root.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 07:46 PM
Can't unmount NFS. Remote NFS system was down. PeteRossi Linux - Software 3 10-05-2003 03:23 PM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 07:33 AM
File System Forced Unmount snoopy42 Linux - General 1 12-04-2002 11:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration