QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 673|回复: 7

怎么让普通用户可以访问mount后的NTFS格式的盘呢?

[复制链接]
发表于 2003-8-27 10:03:43 | 显示全部楼层 |阅读模式
我打了一个RPM包,现在ROOT可以MOUNT 和浏览NTFS,但普通用户没有权限.该怎么处理???谢谢!!!
发表于 2003-8-27 10:40:13 | 显示全部楼层
在/etc/fstab 里面关于NTFS的选项中加入users
回复

使用道具 举报

 楼主| 发表于 2003-8-27 16:10:22 | 显示全部楼层
/etc/fatab 相关行修改如下:

/dev/hda1 /mnt/winc ntfs user,iocharset=cp936 0 0

普通用户依然无法访问,请高手看看,是不是格式或语法有什么问题??
thanks!!!!!!!
(另外:记得有个命令可以直接运行fstab而不必reboot.谁告诉我一下 )
回复

使用道具 举报

发表于 2003-8-28 12:10:31 | 显示全部楼层
应该是这样吧  /dev/hda1 /mnt/winc ntfs users,iocharset=cp936 0 0 ,user与users的区别:

user   Allow an ordinary user to mount  the  file  system.   The
                     name  of  the mounting user is written to mtab so that he
                     can unmount the file system again.  This  option  implies
                     the  options noexec, nosuid, and nodev (unless overridden
                     by  subsequent   options,   as   in   the   option   line
                     user,exec,dev,suid).

users  Allow  every  user  to mount and unmount the file system.
                     This option implies the options noexec, nosuid, and nodev
                     (unless  overridden  by  subsequent  options,  as  in the
                     option line users,exec,dev,suid).
回复

使用道具 举报

 楼主| 发表于 2003-8-29 11:48:13 | 显示全部楼层
如果用users,我根本无法挂载了~~~~
回复

使用道具 举报

 楼主| 发表于 2003-9-1 09:21:13 | 显示全部楼层
自己再顶一下
回复

使用道具 举报

发表于 2003-9-1 16:24:16 | 显示全部楼层
是用user
回复

使用道具 举报

发表于 2003-9-3 16:47:43 | 显示全部楼层
我可一直用的users
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 12:27 , Processed in 0.044548 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表