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.
|
|
01-25-2005, 04:31 PM
|
#1
|
Member
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Fedora Core 2
Posts: 42
Rep:
|
no user permissions on windows NTFS partition
Just a little thing that's really bugging me so I'm hoping someone can please help me.
I run a dual boot with Windows 2000 and FC2. I recently decided it might be worth me mounting my Win NTFS partition so I can access the files on it.
Only problem is when I go to read the partition, the only one who has the priviledges to do so are is the SU. It works fine if I chmod +755 -R /mnt/NTFS.
However, when I restart my computer it resets to the SU root priviledges only.
So I figured OK and added the chmod line to my rc.local script. This solved the problem but has added about an extra minute on to the startup time - which in the grand scheme of things is not worth my bother. (I may as well just manually chmod when I need access!) Aghhh!
Is there anyway to do the chmod and for the changes to remain in affect? Am I just missing an option in my chmod command?
Any help would be GREATLY appreciated!!!
|
|
|
01-25-2005, 04:37 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Add a umask option to your /etc/fstab, so that it becomes something along the lines of:
Code:
/dev/hda2 /windows ntfs ro,noauto,user,umask=0022 0 0
Cheers,
mj
|
|
|
01-26-2005, 08:08 AM
|
#3
|
Member
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Fedora Core 2
Posts: 42
Original Poster
Rep:
|
Thanks, it worked beautifully.
I also added "mount /mnt/NTFS" to my icewm startup files so I wouldn't have to bother mounting it each time .
Nice, quick and easy!
Cheers!
|
|
|
01-26-2005, 04:09 PM
|
#4
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Great to hear
To have the partition mounted automatically, you can probably just remove the "noauto" option from the NTFS line in /etc/fstab. This should cause it to be mounted along with your root partition at boot up.
Cheers,
mj
|
|
|
01-28-2005, 04:26 AM
|
#5
|
Member
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Fedora Core 2
Posts: 42
Original Poster
Rep:
|
all is well and works perfectly now!
thankyou. you're a champion
|
|
|
All times are GMT -5. The time now is 02:05 AM.
|
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
|
|