执行 usermod -d /shares/Storage/ ftp 会将用户ftp的根目录(~位置)修改为/shares/Storage/。 转载于:https://www.cnblogs.com/zifeiy/p/9360113.html