Accessing a fat32 Partition
During the Slackware installation, it automatically detected my Windows partitions and asked if I wanted to mount them. I clicked yes and set them up. Now, I can access those partitions when logged in as root, but not as a normal user. When I try to go to /data (it's mountpoint) in konqueror it says "Access denied to /data". Here's what's in my /etc/fstab file:
Code:
/dev/hda8 swap swap defaults 0 0 |
You are mounting data as user 1000 and group 1001. What is the group id of users listed in /etc/groups set the gig equal to that value in the fstab file.
|
Thanks for your help. Unfortunately, it didn't work. Now, when I try to access it as root or as a regular user, it says "You do not have enough permissions to read file:/data".
|
Sorry it's not gig but gid=100. After making the change you need to remount the filesystem.
|
Yeah, I understood and made it gid=100. I remounted the filesystem, but it's still giving me the same error.
|
What is the output of
cat /etc/passwd; cat /etc/group; What user are you logged in as? ls -l the file/directory you are trying to access. |
Code:
crawford@Kevin:~$ cat /etc/passwd Thanks for your help. |
O s__t I forgot also add umask=0 in addition to gid=100
|
Just added umask=0. No luck.
|
What is the output of
ls -l / | grep data; ls -l /data/*; |
Code:
crawford@Kevin:~$ ls -l / | grep data |
As root unmount the /data filesystem and post the output from the two ls below
ls -l / | grep data; then mount /dev/hda9 /data -o gid=100,umask=0; ls -l / | grep data; |
Code:
root@Kevin:/home/crawford# umount /dev/hda9 |
Those permissions look good. Can you
echo "test" > /data/test; as a normal user now? |
Code:
crawford@Kevin:~$ echo "test" > /data/test |
All times are GMT -5. The time now is 12:52 AM. |