LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Installed slackware-try to access FAT32 file partition-permission denied-? (http://www.linuxquestions.org/questions/slackware-14/installed-slackware-try-to-access-fat32-file-partition-permission-denied-713671/)

linus72 03-22-2009 08:47 PM

Installed slackware-try to access FAT32 file partition-permission denied-?
 
After a clean install of 12.2 I could access the FAT32 partition containing my files. But, after updating 12.2 I could no longer access the partition-"permission denied".
How can I fix this?
Thanks.

onebuck 03-22-2009 09:18 PM

Hi,

What do you mean by updating? What and how?

arfon 03-22-2009 09:31 PM

How are you mounting the partition?


Is it in your fstab? If it is in your fstab, did you set it with the 'users' parameter?

EXAMPLE:
/dev/sda1 /mnt/memstick auto noauto,users, 0 0

linus72 03-23-2009 06:24 AM

OK-after installing 12.2 I added my firefox backup bookmarks to firefox from the FAT32 partition, got all my stuff working-3-button mouse, etc, then uncommented one of the slack mirrors, "slackpkg update", then "slackpkg upgrade-all". After upgrading-rebooted.
Got to KDE desktop, and after installing src2pkg and sbopkg, I again clicked on the "system" icon, clicked on "storage media", then clicked on the icon for the FAT32 partition-sda5-"permissions denied".
This did not happen the first time.
Here is my fstab-
Code:

/dev/hda9        swap            swap        defaults        0  0
/dev/hda1        /                ext3        defaults        1  1
/dev/hda5        /dev/hda5        vfat        defaults        1  0
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0

None of my other partitions are in the fstab-sda-2,3,6,7,8. Yet they can all be accessed easily. sda4 is extended.
Code:

bash-3.1# blkid
/dev/hda1: UUID="bf570f19-bade-4d0c-b93c-2e9b1c84e94c" TYPE="ext3"
/dev/hda2: UUID="ce6d5374-9f45-41e4-9113-e72653b4a7ee" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda3: UUID="b31c0d39-40e4-4263-9be5-9c1158dff74b" TYPE="ext3"
/dev/hda5: UUID="49BA-FC97" TYPE="vfat"
/dev/hda6: UUID="3ebaeaf9-03e9-4dcf-a82f-e1ec1a907a73" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda7: UUID="f66a08c2-4555-44d8-a3d2-c33db50a7c6d" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda8: UUID="1e4d3cf6-57d2-4e0a-b73a-a5851a70197c" TYPE="ext3"
/dev/hda9: TYPE="swap"
bash-3.1#

So, what gives here??
Thanks.

vbisis 03-23-2009 07:06 AM

Since the latest update, I have almost the same problem: Everytime I try to access a fat-formatted partition like an usb-stick the root password is asked to gain access.

Did I miss some change with udev or something?

linus72 03-23-2009 07:21 AM

I think I see my problem-I told it /dev/hda5 as my mount point when installing-do I have to edit my fstab so it says "dev/hda5 /mnt/hda5" instead of "dev/hda5 /dev/hda5"??
Or do I have to create a mountpoint for it??
Help!

arfon 03-23-2009 07:42 AM

Yep, THAT'S your problem...

/dev/hda5 /dev/hda5 is SOOOO wrong!

You can't mount it to itself.

/dev/hda5 /mnt/hda5 is ok
/dev/hda5 /mnt/someotherdirectory is ok
/dev/hda5 /somedirectory/somedirectory/somedirectory is ok

The fix is EASY...

1) make sure your mount point exists and if it doesn't, create it: mkdir /mnt/hda5
2) edit your fstab so the "/dev/hda5 /dev/hda5..." says "/dev/hda5 /mnt/hda5..."

It should then mount ok.

GazL 03-23-2009 07:45 AM

Yep, that's your problem.

I'd recommend creating your mountpoint somewhere else other than under /mnt (Have a read of /mnt/README and you'll see why), but how you name your mountpoints is all down to personal preference.

GazL 03-23-2009 07:47 AM

Quote:

Originally Posted by arfon (Post 3484897)
Yep, THAT'S your problem...

lol... now you've gone and made me sound like an echo. ;)

linus72 03-23-2009 07:49 AM

YEP-and it was as simple as-
Code:

bash-3.1# mkdir /mnt/hda5
bash-3.1# mount /dev/hda5 /mnt/hda5
bash-3.1#

Der?!
Dolt!
Thanks guys.

rworkman 03-23-2009 08:23 AM

For future reference, http://slackwiki.org/Windows_Partitions might be helpful.


All times are GMT -5. The time now is 04:29 AM.