請問ProFTPD要怎麼設定閱讀目錄的權限ㄚ..



贊助商連結


yark
2002-02-28, 11:08 PM
如果是不同的group....只要改檔案的權限就可以了....
但是如果在同一個group下.....我只是讓某一位user無法讀取某個目錄...
但gruop裡的其他人都可以讀取此目錄.....該怎麼設定呢.....
好像要寫個.ftpaccess檔就可以了....
但是裡面該怎麼設定呢....??

贊助商連結


repsol
2002-03-02, 03:47 PM
http://www.proftpd.org/docs/directives/linked/config_ref_DenyUser.html


DenyUser
Name
DenyUser -- FIXME FIXME
Synopsis
DenyUser [ DenyUser user-expression]



Default
None

Context
<Limit>

Module
mod_core

Compatibility
1.1.7 and later

Description
DenyUser specifies a user-expression that is specifically denied within the context of the <Limit> block it is applied to. user-expression is a comma delimited list of users or "not" users (by prefixing a user name with the `!' character). The expression is parsed as a boolean "and" list, meaning that all elements of the expression must evaluate to logically true in order for the explicit deny to apply.

See also
See Also: AllowUser, DenyGroup, AllowGroup





配合Limit 加上CMD 就可以了..