分页: 1 / 1

共享又出新问题啦!

发表于 : 2008-04-30 9:21
shgang
昨天刚装了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

是不是改这里。求证一下,请指教!!十分感谢!

发表于 : 2008-04-30 9:43
tg8866
进恢复模式。

home 目录的权限改回来。

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

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