作者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://www.ptt.cc/bbs/Linux/M.1475723732.A.C4F.html
※ 編輯: sasoric (59.120.24.158), 10/06/2016 11:16:00
推 hsucheng: 感謝,目前應該是用SmbFTPD,但我找不到他的conf檔.. 10/06 12:09
推 chang0206: find / -name smbftpd.conf 10/06 13:56
推 Gold740716: 用 locate 比較快, `locatesmbftpd.conf` 。 10/07 11:28