《問題》[Pure-Ftpd]如何設定使用者上傳的檔案權限 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- FreeBSD & Linux 討 論 版


PCZONE 討論區



通知

-- FreeBSD & Linux 討 論 版 因為本站採用 FreeBSD 作業系統,所以自己本身也多學了一些技巧,希望各位在這裡互相討論 Unix 作業系統及程式等相關問題。

會員
《問題》[Pure-Ftpd]如何設定使用者上傳的檔案權限
我使用Pure-Ftp 架設FTP,
並開放mis帳號給使用者登入...

當有人使用mis 建立目錄,或是上傳檔案...

請問要如何設定才能讓mis 這個身分所建立的目錄或是檔案..
權限都為777..

感謝各位的回覆!!

回覆
進階會員

http://www.pureftpd.org/README

- '-U <umask for files>:<umask for dirs>': Change the file creation mask.The default is 133:022. If you want a new file uploaded by a user to only be readable by that user, use '-U 177:077'. If you want uploaded files to be executable, use 022:022 (files will be readable -but not writable- by other
users) or 077:077 (files will only be executable and readable by their owner) . Please note that Pure-FTPd support the SITE CHMOD extension, so a user can change the permissions of his own files

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【教學】Pure-ftpd 安裝說明 for RedHat 7.3 ADJ -- FreeBSD & Linux 討 論 版 3 2004-04-12 11:02 AM
【求助】R6025 -pure virtual function call david5290 -- 多 媒 體 討 論 版 0 2004-02-25 07:21 PM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。