[Linux 相关文章] samba回收站功能Submitted

May 26th, 2008

转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]

本文链接: http://www.php-oa.com/2008/05/26/sambahuishouzhangongnengsubmitted.html

转:http://www.danieldeng.org/?action=show&id=4

[homes]
   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            #设置不被移动到回收站的文件类型

recycle目录的访问权限是所有用户可写,自动生成的recycle/%u目录的访问权限是只能由用户可写.

Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪 ViVi 365Key 网摘 天极网摘 和讯网摘 博拉网 POCO 网摘 饭否 QQ 书签 Digbuzz 我挖网 Mister Wong
Tags:
  1. 骡骡
    May 26th, 2008 at 22:38
    Reply | Quote | #1

    扶凯兄弟,你的技术博客真棒!超喜欢你的博客风格,我用ubuntu看上去效果好极了,能告诉你的博客软件是什么吗?另外风格模板能分享一下吗?
    我也是刚刚返朴归真的运维工程师!我的邮箱liujitao@sina.com

  2. 扶凯
    May 27th, 2008 at 09:21
    Reply | Quote | #2

    我用的是wordpress做的blog
    模板是默默の丸做的,网站是http://www.underone.com/ 建议你看看这个的模板.他做的非常不错