Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannotview partitions as "user"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
fpipia
n00b
n00b


Joined: 24 Apr 2004
Posts: 7

PostPosted: Thu May 13, 2004 7:18 pm    Post subject: cannotview partitions as "user" Reply with quote

I can mount all my partitions as root and I can enter them, but when I log in as a user, I cannot enter or view the partitions.

I've chmod 777 the mount points, but nothing changes.
When the partition is unmounted, ls -al gives:

hitomi root # ls -al /mnt/
total 64
drwxrwxrwx 10 root root 4096 May 13 20:37 .
drwxr-xr-x 18 root root 4096 Apr 19 20:39 ..
-rwxrwxrwx 1 root root 0 Feb 19 10:28 .keep
drwxrwxrwx 2 root root 4096 Feb 19 10:28 cdrom
drwxrwxrwx 2 zagor users 4096 May 13 20:37 dos_d
drwxrwxrwx 2 root root 4096 Apr 18 19:25 edit
drwxrwxrwx 2 root root 4096 Feb 19 10:28 floppy
drwxr--r-- 12 root root 16384 Jan 1 1970 shared
drwxr-xr-x 21 root root 4096 Feb 23 18:37 temp
drwxrwxrwx 2 root root 4096 Apr 18 19:27 usbkey
dr-x------ 1 root root 16384 Apr 20 22:28 video

but when I mount /mnt/dos_d it gives:

hitomi root # ls -al /mnt/
total 68
drwxrwxrwx 10 root root 4096 May 13 20:37 .
drwxr-xr-x 18 root root 4096 Apr 19 20:39 ..
-rwxrwxrwx 1 root root 0 Feb 19 10:28 .keep
drwxrwxrwx 2 root root 4096 Feb 19 10:28 cdrom
drwxr--r-- 9 root root 8192 Jan 1 1970 dos_d
drwxrwxrwx 2 root root 4096 Apr 18 19:25 edit
drwxrwxrwx 2 root root 4096 Feb 19 10:28 floppy
drwxr--r-- 12 root root 16384 Jan 1 1970 shared
drwxr-xr-x 21 root root 4096 Feb 23 18:37 temp
drwxrwxrwx 2 root root 4096 Apr 18 19:27 usbkey
dr-x------ 1 root root 16384 Apr 20 22:28 video

my fstab is:

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb3 /boot ext2 noauto,noatime 1 1
/dev/hdb4 / ext3 noatime 0 0
/dev/hdb8 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/fd0 /mnt/floppy auto noauto 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

# My system

# /dev/hda5 /mnt/dos_d vfat defaults 0 0
/dev/hdb6 /mnt/shared vfat noatime 0 0
/dev/hdb1 /mnt/video auto noatime 0 0
/dev/hdb12 /var/tmp/portage auto noatime 0 0



Any idea?

Thanks
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Thu May 13, 2004 7:24 pm    Post subject: Reply with quote

`man fstab` or `man mount`, try to look for parameters "umask", "dmask" a "fmask" under VFAT/FAT section.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Thu May 13, 2004 9:25 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
Duplicate of https://forums.gentoo.org/viewtopic.php?t=147873&highlight=vfat+umask
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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