LoginSignup
22
22

More than 5 years have passed since last update.

Macでftpサーバを立ち上げる

Last updated at Posted at 2014-05-19
/etc/ftpd.conf
  # match umask from Mac OS X Server ftpd
  umask all 022
+ chroot GUEST /tmp

これでanonymousユーザは/tmpにアクセスできる。

起動
$ sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist
停止
$ sudo launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

(pure-ftp, vsftpd, proftpdとbrewでインストールしたが、設定ファイルが
同梱されておらず動作できなかった)

22
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
22