LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Original Poster
Rep: Reputation: 15

Mathieu,
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?

Lone_nut,
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, 09:59 PM   #17
Mathieu
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.
http://www.justlinux.com/nhf/Filesys...lesystems.html

Quote:
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:
Code:
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:
Code:
man command
To quit the MAN page, type 'q'.
 
  


Reply


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


All times are GMT -5. The time now is 04:20 PM.

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