共享又出新问题啦!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
shgang
帖子: 4
注册时间: 2008-04-29 10:05

共享又出新问题啦!

#1

帖子 shgang » 2008-04-30 9:21

昨天刚装了ubuntu 8.04,搞定了网络共享,现在又出了新问题,设的自动登录,现在登不了了,出现一个提示,“用户的$/HOME/.DMRC巳被忽略。这将无法保存默认会和语言。该文件应该由用户所有,并且权限设置为644。用户的$/HOME目录应由用户自己所有,别的用户也无法写入。”不晓得是怎么回事, 我只是把我的用户登录目录设了密码仿问共享模式,这样便于在WINDOWS和UBUNTU之间进行数据交换,要怎么才能去掉这个提示,恢复自己登录!!
:?: :?: :?: :?: :?: :?:
弄了几下,终于搞定,但不是很明白。
#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0644

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0644

是不是改这里。求证一下,请指教!!十分感谢!
上次由 shgang 在 2008-04-30 10:27,总共编辑 1 次。
tg8866
帖子: 471
注册时间: 2008-02-01 7:16

#2

帖子 tg8866 » 2008-04-30 9:43

进恢复模式。

home 目录的权限改回来。

windows跟linux之间共享文件,不用改自己的目录权限 。。。

打开 smb.conf 里面 HOMES 选择 。。
回复