Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't enter FAT FS....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Sat Nov 01, 2003 7:30 pm    Post subject: Can't enter FAT FS.... Reply with quote

I didn't find n e forum to place this, so I am puting this here.
for some odd reson, whenever I mount my FAT hard drives the directory where I mount them to becoms read-only for n e one but the root. Since the directory is not executable for other users I cant enter it with mplayer to watch movies...

this is what I get when I do ls -l
Code:

root@TKK mnt # ls -l
total 70
drwxr-xr-x    2 root     root           48 Oct 28 01:33 dvd
drwxr-xr-x    2 root     root           72 Oct 27 03:37 floppy
drwxr--r--   14 root     root         4096 Jan  1  1970 hda1
drwxr--r--   16 root     root        32768 Jan  1  1970 hda5
drwxr--r--   14 root     root        32768 Jan  1  1970 hdb1
drwxr-xr-x    2 root     root           48 Oct 28 01:33 pen

hda1, hda5, hdb1, are the points were my FAT drives r mounted to.
evrey time I change the folders to drwx-r-xr-x it automatecly changes back to its previos setings.
Can n e 1 tell me how to change this?

here is mt /etc/fstab. Just in case it might help.
Code:

# <fs>             <mountpoint>    <type>     <opts>            <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/fd0      /mnt/floppy   auto      user,noauto,exec   0 0
/dev/hda1      /mnt/hda1   vfat      defaults      0 0
/dev/hda5      /mnt/hda5   vfat      defaults      0 0
/dev/hdb1      /mnt/hdb1   vfat      noatime,exec,asyc   0 0
/dev/hda6      /boot      ext3      noauto,noatime      1 2
/dev/hda8      /      reiserfs   noatime         0 0
/dev/hda7      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro,user      0 0
/dev/cdroms/cdrom1   /mnt/dvd   auto      noauto,ro,user      0 0
/dev/sda1      /mnt/pen   vfat      noauto,user      0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Sat Nov 01, 2003 7:36 pm    Post subject: Reply with quote

Add "user" to the opts. Change user to your group of preference.
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Sat Nov 01, 2003 7:44 pm    Post subject: add "user", didn't help Reply with quote

I add user to hdb1 (lets get one working right, then I'll fix the rest). But it didn't help.

Quote:
Change user to your group of preference.

I didn't realy understand what u whanted me to there, can u elaborate?
thanx...
Back to top
View user's profile Send private message
st589
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2003
Posts: 83

PostPosted: Sat Nov 01, 2003 7:46 pm    Post subject: Reply with quote

Have you read this thread yet? https://forums.gentoo.org/viewtopic.php?t=29285
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Sat Nov 01, 2003 7:54 pm    Post subject: Re: add "user", didn't help Reply with quote

wolf_99 wrote:
I add user to hdb1 (lets get one working right, then I'll fix the rest). But it didn't help.

Quote:
Change user to your group of preference.

I didn't realy understand what u whanted me to there, can u elaborate?
thanx...


Forget it.
Add this line:
/dev/hda6 /mnt/share vfat auto,user,umask=0 0 0

Change hda6 to your disk, change /mnt/share to wherever you want it to mount.
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Sat Nov 01, 2003 8:05 pm    Post subject: thanx! Reply with quote

That REALY helped.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum