作者sasoric (sasori.c)
看板Linux
标题Re: [问题] 作业上传用资料夹,如何设定这样的权限?
时间Thu Oct 6 11:15:23 2016
不是很清楚你用那一套FTP server
以proftpd为例,可以限制仅上传,不准下载
http://www.proftpd.org/docs/directives/linked/config_ref_Anonymous.html
而覆盖的部份,可以关掉AllowOverwrite参数
http://www.proftpd.org/docs/directives/linked/config_ref_AllowOverwrite.html
如果是别套FTP server,请参考对应的文件
※ 引述《hsucheng (Marshall)》之铭言:
: 情况是这样的
: 专门给学生上传作业的资料夹叫HW
: 所有学生都登入同一个帐号叫FTP1来上传
: 我只想开放上传,但不能覆盖、下载,避免覆盖与抄别人的档案
: 如果要修改,要请他重新改名为V2再上传,
: 请问这样要怎麽设定权限呢?
: 是跟群组有关吗?
: 刚接触linux还不太懂,希望能给个关键字让我能google
: 谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 59.120.24.158
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1475723732.A.C4F.html
※ 编辑: sasoric (59.120.24.158), 10/06/2016 11:16:00
1F:推 hsucheng: 感谢,目前应该是用SmbFTPD,但我找不到他的conf档.. 10/06 12:09
2F:推 chang0206: find / -name smbftpd.conf 10/06 13:56
3F:推 Gold740716: 用 locate 比较快, `locatesmbftpd.conf` 。 10/07 11:28