歡迎您光臨本站 註冊首頁

samba-3.0.10-1.4E 如何設置回收站功能

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

samba-3.0.10-1.4E 如何設置回收站功能

我看過這個貼子http://tech.ccidnet.com/art/302/20061206/968665_1.html,但是在我的SAMBA里沒有/etc/Samba/recycle.conf
請問有誰試過在samba-3.0下設置過回收站功能,謝謝
《解決方案》

看看"samba所想"
《解決方案》

已經試不了不行
《解決方案》

已經試不了不行
《解決方案》

不行?
是你馬虎了吧?
怎麼個不行法?
《解決方案》


   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = 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 = 0700

# 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 = 0700


vfs object = recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:repository = ../recycle/%u
recycle:exclude=*.tmp,*.TMP

想問在共享文件里刪除文件后在哪個path可以找到 recycle?
《解決方案》

recycle是要自已建立的
並且要保證用戶有可寫許可權
《解決方案》


        browseable = no
        writable = yes
        path = /home/recycle
        vfs object = recycle
        recycle:exclude = *.tmp,*.TMP
        recycle:keeptree = yes
        create mask = 0700
        comment = Home Directories
        directory mask = 0700
        recycle:repository = ../recycle/%u
        recycle:versions = yes

我的設置是這樣得,但是還是不行,是不是我設置有問題,能說明白點嗎?非常感謝
《解決方案》

你在根目錄里有/recycle這個目錄嗎?
如果沒有,新建 許可權為777
《解決方案》


        browseable = no
        writable = yes
        path = /home/recycle
        vfs object = recycle
        recycle:exclude = *.tmp,*.TMP
        recycle:keeptree = yes
        create mask = 0700
        comment = Home Directories
        directory mask = 0700
        recycle:repository = /home/recycle/%u
        recycle:versions = yes

設成這樣就行,不過 recycle 路徑是在/home/recycle,這樣的話就會給用戶看到,可不可以放在其它地方,用戶是看不到的.(試過設成../recycle/%u , 在根目錄建立了recycle 是不行的)

[火星人 ] samba-3.0.10-1.4E 如何設置回收站功能已經有127次圍觀

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