Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-27-2003, 06:48 PM   #1
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
stupid fstab question

This is probually a stupid question. I have a dual boot machine running Slack 8.1 and XP. When I can not change attributes on files and directories my f drive in Windows. Here is a copy of my fstab.

/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / reiserfs defaults 1 1
/dev/hdb3 /data reiserfs defaults 1 2
/dev/hda1 /mnt/win_c vfat defaults 1 0
/dev/hda5 /mnt/win_f vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 auto,owner,ro 0 0
/dev/cdrom /mnt/cdrom2 iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0

I tried changing the defaults to rw. In Mandrake I had problem changing attribute. I am kinda new to Slack. Thanks
Old 02-27-2003, 07:27 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi there ...

try a
man fstab
man mount
You'll probably want to play with
/dev/hda5 /mnt/win_f vfat defaults 1 0
and change the "defaults" field ... look at things like uid, gid
and umask in mounts manual...!

Old 02-27-2003, 07:34 PM   #3
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Do you mean you're trying to "chmod" some of the files on your windows partitions? I don't think the vfat filesystem has any knowledge of permissions.

Somebody, please correct me if I'm wrong here, but doesn't linux give ownership permissions to the user who mounts the filesystem? If so, then add the "user" keyword to your windows partitions, and then any normal user can mount/umount the partitions. If that statement is correct, then they should be able to read/write those files. Basically, this is information you'd find in the man pages for fstab that Tinkster mentioned.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 09:12 PM
stupid question spookyct Mandriva 1 04-29-2005 01:10 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 03:09 PM
Very stupid question Thetargos Linux - Software 6 04-01-2003 03:21 PM
another not so stupid question. Thetargos Linux - Software 2 04-01-2003 01:35 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration