Hi everyone,
I am newby in FreeBSD.
I am sorry if I can't describe clear.
I set a SFTP server and mount /home to second disk (da1) for SFTP store files.
I add newuser and auto create /home/newuser.
It looks all good to here.
I create a files directory to /home/newuser/files and "chown newuser:sftp /home/newuser/files"
When I upload file from filezilla to my SFTP server /home/newuser/files/.
The data is store in zroot/usr/home. But the /home/newuser/ is store in /dev/da1p2 (second disk).
How to store the file to /home/newuser/files/ in mount disk (da1)?
Thank you.
1. I mount second disk /dev/da1p2 to /home
2. Add newuser and the /home/newuser is store in /dev/da1p2 /usr/home. But when I upload file to SFTP /home/newuser/files/. It stores in zroot/usr/home.
I am newby in FreeBSD.
I am sorry if I can't describe clear.
I set a SFTP server and mount /home to second disk (da1) for SFTP store files.
I add newuser and auto create /home/newuser.
It looks all good to here.
I create a files directory to /home/newuser/files and "chown newuser:sftp /home/newuser/files"
When I upload file from filezilla to my SFTP server /home/newuser/files/.
The data is store in zroot/usr/home. But the /home/newuser/ is store in /dev/da1p2 (second disk).
How to store the file to /home/newuser/files/ in mount disk (da1)?
Thank you.
1. I mount second disk /dev/da1p2 to /home
2. Add newuser and the /home/newuser is store in /dev/da1p2 /usr/home. But when I upload file to SFTP /home/newuser/files/. It stores in zroot/usr/home.