LinuxQuestions.org
Visit Jeremy's Blog.
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 03-25-2004, 01:31 PM   #1
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
Can't change permissions on mountpoint


I have a couple of FAT32 partitions that I'd like to at least read as a normal user. Tried cding, permission denied. I do an ls -l and it tells me:

drwxr--r--

I believe I need execute privileges in order to read a directory, plain read won't do. So I try

chmod 755 directory

Then ls -l and the permissions haven't changed. I'm thinking it must be an option I'm missing out, or perhaps accidentally adding, in my /etc/fstab file. Here are the entries, hope you can help.

/dev/hda7 /mnt/win/home vfat auto,user,rw 0 0
/dev/hda10 /mnt/win/dl vfat rw,auto,user 0 0
 
Old 03-25-2004, 01:42 PM   #2
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
First of all, change auto to noauto in your fstab

Second, what windows ver are you using..?
 
Old 03-25-2004, 02:05 PM   #3
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
XP, but the partitions are formatted as FAT32. Why change the auto to noatuo? I'm the only user on this comptuer.
 
Old 03-25-2004, 02:31 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
change your fstab to read.........
Code:
/dev/hda7   /mnt/win/home vfat auto,owner,users,rw 0 0
/dev/hda10 /mnt/win/dl    vfat auto,owner,users,rw 0 0
noauto means the filesystem will not automagically be mounted upon boot, if you do this you need to create config files on your desktop, in order to mount the filesystem when you want..........

Last edited by 320mb; 03-25-2004 at 02:33 PM.
 
Old 03-25-2004, 04:57 PM   #5
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Quote:
Originally posted by sharpie
XP, but the partitions are formatted as FAT32. Why change the auto to noatuo? I'm the only user on this comptuer.
Is it XP Home or professional? Also, XP is written in NTFS.. im surprised that it shows as FAT32..

Anyway, you may need to go into your properties in XP and check the permissions. You might have to choose "share this folder with others" and "let users change my files" to get the permissions to work in Linux. XP defaults all folders as read only.

Hope this helps
 
Old 03-26-2004, 05:19 PM   #6
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
ryeman it's FAT32 because that's how I formatted them...

320MB, I'll try changing my fstab to that when I get home.
 
Old 03-28-2004, 09:44 PM   #7
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
320MB, I tried changing my fstab to what you said, unmounted the disk, remounted and tried to change partitions but it still won't let me. Anyone else have this problem, or know how to fix it?
 
Old 03-29-2004, 12:25 AM   #8
coder_ma
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat9
Posts: 18

Rep: Reputation: 0
#mount -t vfat -o umask=000 /dev/hda5 /mnt/win_d
umask=000 makes others could access filesystem mounted by root.
 
  


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
How to change permissions? SonoranFun Linux - Newbie 4 11-02-2004 11:10 AM
Can't change permissions LitlJay Linux - Software 9 05-21-2004 02:41 PM
permissions problems on mountpoint Little devil Linux - General 2 06-24-2003 02:02 PM
How Can I Change Permissions monkeymartin Linux - General 1 03-25-2003 01:47 PM
ttyS0 permissions change walkerwhite Linux - General 1 10-30-2002 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:22 AM.

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