[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 挂载分区的问题



On Thu, Feb 23, 2006 at 09:24:31AM +0800, zetaxis wrote:
> 各位好:
>     我想挂载两ntfs分区,我修改了/etc/fstab让他们自动挂载到/mnt/wind和
> /mnt/wine,选项上我写了auto,users,但是挂载之后,发现普通用户无法浏览,
> 权限是roo:root rwx,有什么办法使得普通用户可以浏览呢?我查了mount的手
> 册,半天也不得其法。

说明你查得不够仔细。引用 mount(8) 手册页:

uid=value, gid=value and umask=value
      Set the file permission on the filesystem.  The umask  value  is
      given in octal.  By default, the files are owned by root and not
      readable by somebody else.

你需要类似 uid=zetaxis,gid=zetaxis,umask=022 的挂载选项。

Ming
2006.02.22



Reply to: