歡迎您光臨本站 註冊首頁

我的samba伺服器, 只能看見文件夾, 看不見文件

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

我的samba伺服器, 只能看見文件夾, 看不見文件

把/tmp/logs共享出來.

現在在windows下訪問可以進入文件夾, 也可以在windows創建文件和文件夾.
但是看不見在linux本地創建的文件,
linux本地創建的文件夾可以看見

smb.conf文件如下:
  1
  2         workgroup = WORKGROUP
  3         netbios name = ACSSERVER
  4         security = share
  5         map hidden = Yes
  6         map system = Yes
  7
  8
  9         comment = ACS LOGS
10         path = /tmp/logs
11         writable = yes
12         browseable = yes
13         guest ok = yes
14         directory mode = 771
15         create mask =  0664

logs文件夾許可權如下:
drwxrwxrwx 5 acsuser acsuser 4096  6月  8 20:36 logs

logs文件夾下的文件如下:
drwxrwxr-x 2 acsuser acsuser  4096  6月  8 20:12 1
-rw-rw-r-- 1 acsuser acsuser     9  6月  8 20:36 2
-rw-rw-r-- 1 acsuser acsuser 49839  6月  8 18:09 3
-rw-rw-r-- 1 acsuser acsuser     0  6月  8 20:35 a.txt
drwxrwsr-x 2 acsuser acsuser  4096  6月  8 20:35 b
drwxrwsr-x 2 acsuser acsuser  4096  6月  8 20:36 c

其中 文件3是在windows下copy的文件, 可以看見
文件2和a.txt是再linux上本地創建的文件, 看不見.
文件夾全能看見

我已經配置了好長時間了, 還是解決不了這個問題.
大家幫我看看吧.
《解決方案》

加上x許可權
《解決方案》

加上了x, 還是看不見....
《解決方案》

應該還是許可權的問題,試著將許可權加到777,再看看LOG,是否有異常。

[火星人 ] 我的samba伺服器, 只能看見文件夾, 看不見文件已經有167次圍觀

http://coctec.com/docs/service/show-post-17519.html