raynorli 发表于 2004-6-11 19:45:44

HELP!!!! on mount and fstab

mounting a Fat32 partition on /mnt/win_e
fstab is like this:
/dev/hda7                /boot                ext3                noauto,noatime                1 2
/dev/hda9                /                ext3                noatime                        0 1
/dev/hda8                none                swap                sw                        0 0
none                        /mnt/cdrom        supermount        dev=/dev/cdroms/cdrom0,--,users,ro        0 0
/dev/hda1                /mnt/win_c        ntfs                users                        0 0
/dev/hda6                /mnt/win_e        vfat                users                        0 0
/dev/hda5                /mnt/win_d        vfat                users                        0 0

using GENTOO LINUX 2004.1

No user can visit the /mnt/win_e except the root. How to make it visible to all users?
thanks!!!

wqsd 发表于 2004-6-11 20:15:30

Pahaps you may change the "users" to "default".

其实我也是菜鸟。

reebird 发表于 2004-6-11 21:15:12

是用户权限的问题吧

楼主装的什么linux?

使用的是什么帐号?

提高一下默认帐号的权限试试

樱家冢 发表于 2004-6-12 06:28:06

umask=0
这个参数没有加,另外,你的 /mnt/win_e 目录的权限呢?也要设置为普通用户可读的。

chmod 755 /mnt/win_e
如果要普通用户只读和可执行。

chmod 777 /mnt/win_e
如果要可读些。

raynorli 发表于 2004-6-13 10:14:23

目录的权限是744
普通用户只是cd时候就已经permision denial了
和2.6.5的内核有没有关系?

hew 发表于 2004-6-13 10:28:04

改755 没有执行权是进不了目录的。

raynorli 发表于 2004-6-13 13:37:42

solved:
adding umask=022 to fstab

only "chmod" do not effect on the mount point
thanks
页: [1]
查看完整版本: HELP!!!! on mount and fstab