LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't change permissions on mountpoint (https://www.linuxquestions.org/questions/linux-newbie-8/cant-change-permissions-on-mountpoint-162280/)

sharpie 03-25-2004 12:31 PM

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

ryeman 03-25-2004 12:42 PM

First of all, change auto to noauto in your fstab

Second, what windows ver are you using..?

sharpie 03-25-2004 01:05 PM

XP, but the partitions are formatted as FAT32. Why change the auto to noatuo? I'm the only user on this comptuer.

320mb 03-25-2004 01:31 PM

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..........

ryeman 03-25-2004 03:57 PM

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

sharpie 03-26-2004 04:19 PM

ryeman it's FAT32 because that's how I formatted them...

320MB, I'll try changing my fstab to that when I get home.

sharpie 03-28-2004 08:44 PM

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?

coder_ma 03-28-2004 11:25 PM

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


All times are GMT -5. The time now is 08:39 PM.