歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> 修改ftp上傳路徑

修改ftp上傳路徑

日期:2017/3/1 16:21:47   编辑:關於Linux
修改ftp上傳路徑 [root@localhost local]# chown ftp ftpdirectory/ [root@localhost local]# chgrp ftp ftpdirectory/ [root@localhost local]# chmod 755 ftpdirectory/ [root@localhost local]# ll |grep ftpdirectory drwxr-xr-x 2 ftp ftp 4096 4月 14 16:37 ftpdirectory [root@localhost local]# usermod -d /usr/local/ftpdirectory/ ftp 查看“Directory”的值是否更改成功: [root@localhost local]# finger ftp Login: ftp Name: (null) Directory: /usr/local/ftpdirectory/ Shell: /sbin/nologin Never logged in. No mail. No Plan. 到這步上傳的目錄已經更改完成,重新啟動vsftp即可:
Copyright © Linux教程網 All Rights Reserved