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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-07-2004, 02:38 PM
|
#1
|
Member
Registered: Nov 2003
Location: England
Distribution: slackware, FreeBSD
Posts: 33
Rep:
|
mount permissions
I'm trying to enable a user, 'rtt', to read from a mount point. When i mount the partition as root (# mount /mnt/mp3), and then try and 'cd' to the folder ($ cd /mnt/mp3) as 'rtt', i get permission denied.
I can't think why this is?
my /etc/fstab file looks like this:
Code:
/dev/hda4 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,user,rw 0 0
/dev/hda5 /mnt/mp3 ntfs auto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
TIA.
|
|
|
03-07-2004, 03:45 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
Edited to remove nonesense
Last edited by Andrew Benton; 03-07-2004 at 07:36 PM.
|
|
|
03-07-2004, 05:06 PM
|
#3
|
Member
Registered: Nov 2003
Location: England
Distribution: slackware, FreeBSD
Posts: 33
Original Poster
Rep:
|
You misunderstand. I can 'cd' in as root and read/write files as i please. i need to be able to do this as a normal user, because i dont want to have to run things as root to be able to read files from there. 
|
|
|
03-07-2004, 07:42 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
Sorry I wasn't paying attention. I've never tried to write to an NTFS partition as there are warnings about it not being safe in the kernel help pages, but if it works for you then fair enough. For what it's worth, this line mounts my windows partition at boot
/dev/hda1 /mnt/windows ntfs ,ro,umask=0 0 0
and any normal user can read from it. Why not try
/dev/hda5 /mnt/mp3 ntfs ,rw,umask=0 0 0
Or variations.
|
|
|
03-07-2004, 08:14 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well i hope you don't have alot of data on that drive if you do try ...
your a brave little soldier to do so
i would wait until it becomes more stable to write to that partition ..
or read about the below and try if you wish :
http://www.jankratochvil.net/project/captive/
|
|
|
03-08-2004, 12:13 PM
|
#6
|
Member
Registered: Nov 2003
Location: England
Distribution: slackware, FreeBSD
Posts: 33
Original Poster
Rep:
|
Quote:
Originally posted by DrOzz
well i hope you don't have alot of data on that drive if you do try ...
your a brave little soldier to do so
|
Just reading from a spare 120gig HDD i have lying around. Got a copy of everything on it elsewhere (probably 2x over!) so i'm not *too* bothered if it all goes to pot.
Quote:
Originally posted by Andrew.....
/dev/hda5 /mnt/mp3 ntfs ro,umask=0 0 0
|
Genuis, thanks 
|
|
|
All times are GMT -5. The time now is 11:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|