readme.rights

来自「ftp服务器源程序」· RIGHTS 代码 · 共 21 行

RIGHTS
21
字号
The `.rights' file is laid out as follows:privilegied.file        rw-r-----       0       1(filename)		(rights)	(uid)	(gid)For any file not in the list, the special case `.default' is checked. If thereis no such file, _no access is permitted_, and the file will _not show up indirectory listings_. This is in fact handy in most cases, so be careful withadding a `.default' entry. (Note that `.rights' is never influenced by a`.default' entry, for security.)For directory permissions, the file `dir/.rights' is checked for the entry `.'.Yes, I know, treating them like normal directories would be great, butremember that there is a root directory as well...The rights are standard r, w and x for now, no setuid, setgid or sticky bitunless we really need it. (We could perhaps need the sticky bit later.) Becareful with the format of the `.rights' file, as everything you set in therights column will be copied directly to listings. Restrict yourself tothose 9 characters, no more, no less, and only use r, w, and x.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?