Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2004, 02:53 AM   #16
Registered: Jun 2004
Location: Herts, England
Distribution: VectorLinux 5.7 SOHO
Posts: 33

Original Poster
Rep: Reputation: 15

Thats great. I have already put the permanent mount on, following advice from above, however, I didn't touch any parameters apart from default 0 0 whatever that means. I note you have given paramaters, users, is self explanatory, I presume gid ,is Group IDs, What are the mask entries?
My hda2 data store is split into the appropriate users directories. Is it possible to assign a different mount to each user directory, eg hda2/documents/ian as one mount, and hda2/documents/kids as another?

It sounds what I need, subject to the above comment, but where do I put this command? How do I implement it?
I'm lost when you mention original and new file. Surely, I put a linking file (is that the new file?) onto my desktop directory, with a pointer of some sort to my target file/directory (is that the original file?) I'm guessing you mean to open a new text file, in my desktop directory, with the above command? But I don't think that interpretation makes sense!

Referring to my other thread about boot priorities, My kids are so pleased and excited with LINUX, they are now always booting to LINUX, and I've re-prioritised "Satan's O/S" to second place!
Old 07-05-2004, 08:59 PM   #17
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
umask set the permissions for all directories and files.
dmask set the permissions for all directories only.
fmask set the permissions for all files only.

If you want to mount an NTFS partition, take a look at this link.

Is it possible to assign a different mount to each user directory, eg hda2/documents/ian as one mount, and hda2/documents/kids as another?
No. When you mount hda2, you mount the entire partition. However, you can create soft links using the ln command.
To use this command, open a console window

For example, hda2 is mounted on /mnt/share:
ln -s /mnt/share/ian
This will create a link to the /mnt/share/ian directory.

To get more info on any command, open a console (terminal) window and type:
man command
To quit the MAN page, type 'q'.


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
Changing permission jaakkop Slackware 1 09-29-2004 12:08 PM
Changing permission. jaakkop Slackware 1 09-17-2004 01:41 PM
Changing Files without permission dolphans1 Mandriva 20 09-17-2004 12:16 PM
Changing permission on commands erraticassassin Slackware 3 07-13-2004 02:46 AM
Changing Permission of a command Encrypted Linux - General 5 01-16-2003 07:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 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