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. |
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.
|
 |
|
12-02-2004, 01:24 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20
Rep:
|
fstab edit
how do i edit my fstab so i have read/write access to my windows ntfs drive (i only have read permission now). thanks
|
|
|
12-02-2004, 01:28 AM
|
#2
|
Member
Registered: Nov 2004
Posts: 56
Rep:
|
if it were /dev/hda1 try
/dev/hda1 /path/to/mount ntfs umask=002,ro,users 0 0
Make sure your kernel has ntfs support.
|
|
|
12-02-2004, 02:57 AM
|
#3
|
Member
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118
Rep:
|
Shouldn't it be rw instead of ro ?
|
|
|
12-02-2004, 05:25 AM
|
#4
|
Member
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273
Rep:
|
As far as I know write support for ntfs is not supported. rw won't help much
Groetjes,
Kees-Jan
|
|
|
12-02-2004, 05:39 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Rep:
|
ntfs is there but we want to recomile the kernel with ntfs support
|
|
|
12-02-2004, 06:12 AM
|
#6
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
If NTFS is there, why do you want to recompile?
You will not get write support, only overwrite support (it is not possible to delete, create or modify the filesize). Real write support is not availlable from kernel NTFS. Only captive-ntfs and some commercial tools allow NTFS write.
This is the information I got from previous threads on this topic.
|
|
|
12-02-2004, 06:22 AM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Rep:
|
But in default it is compiled without ntfs support , so u want to recomiple it.
Ntfs write support is there u can compile kernel with that option,But it is dangerous
|
|
|
12-02-2004, 06:38 AM
|
#8
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
binumvk:
Sorry, there was some missunderstanding. I thought you were talking about something you intended to do that was already done. I understood "ntfs support is there and I want to recompile the kernel to get ntfs support", just a semantic problem
BTW: the 'default' is different in various distros. In SuSE NTFS is compiled per default. However, write support is always turned off (per default).
And just for curiosity: did you ever try to write files on NTFS partitions? Are we talking about NTFS in kernel 2.6?
|
|
|
12-02-2004, 10:08 AM
|
#9
|
Member
Registered: Dec 2004
Posts: 40
Rep:
|
i'm a beginner in linux.so please help me.i'm usin fedora core 1.i cannot write 2 my vfat partitions as a user,but can write as root?what should i do to get r/w access.how fstab should b edited?
|
|
|
12-02-2004, 10:12 AM
|
#10
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Please post your /etc/fstab, so we can see what might be wrong.
In general it could be a missing umask option. See example in post#2.
|
|
|
12-02-2004, 10:38 AM
|
#11
|
Member
Registered: Dec 2004
Posts: 40
Rep:
|
here is my etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda10 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/hda5 /mnt/d vfat defaults 0 0
/dev/hda6 /mnt/e vfat defaults 0 0
/dev/hda7 /mnt/f vfat defaults 0 0
/dev/hda8 /mnt/g vfat defaults 0 0
please help me
|
|
|
12-02-2004, 10:43 AM
|
#12
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Edit all your vfat containing lines as follows:
Code:
/dev/hdaX /mnt/Y vfat defaults,umask=000 0 0
|
|
|
12-02-2004, 10:58 AM
|
#13
|
Member
Registered: Dec 2004
Posts: 40
Rep:
|
abisko00'
thank u.
|
|
|
12-02-2004, 07:01 PM
|
#14
|
LQ Newbie
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20
Original Poster
Rep:
|
ok, when i first installed linux i had write permission to my windows ntfs drive but i had to take the windows drive out (forgot why) but i turned it on without that drive in and it did an auto config thing at the startup and everything got screwed up. i put the drive back in and had to go edit fstab so it would auto mount the drive again but now i cannot get write permission
running mandrake linux 10.0 Official
|
|
|
12-03-2004, 06:00 AM
|
#15
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Rep:
|
haI IAM TALKING ABOUT REDHAT LINUX
|
|
|
All times are GMT -5. The time now is 06:59 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
|
|