"To be a warrior is not a simple matter of wishing to be one. It is rather an endless struggle that will go on to the very last moment of our lives. Nobody is born a warrior, in exactly the same way that nobody is born an average man. We make ourselves into one or the other." --Kokoro
The only issue I had was turning off the verify certificate and setting that to no.
$ lftp -p 990 bigbeav@ftps.servnername.com
Password:
lftp bigbeav@ftps.servername.com:~> ls
ls: Fatal error: Certificate verification: Not trusted
lftp bigbeav@ftps.servername.com:~> set ssl:verify-certificate no
lftp bigbeav@ftps.servname.com:~> ls
drwxr-xr-x 2 ftp ftp 48 Jan 21 21:24 bin
lftp bigbeav@ftps.servername.com:/>
So you have multiple users that need to read and write to certain files on the filesystem? This can be done with vsftpd quite easily. Let’s say you have users called ann, bill and carl and they need to manage files in /insp/localftp/testproject. Here’s the steps:
For vsftpd, change the umask for files created by FTP users. Open the vsftpd.conf file and edit the following. Restart Vsftp daemon, please check ps before doing this as customers maybe using the host. Wait for there stuff to finish, then restart.
1
2
local_umask=077<--old
local_umask=022<--new
This makes sure that new files are chmodded as 775 (full read/write for users/group, but only read for everyone else).
Next, create a new group. We will call ours “sharedwebâ€:
1
groupadd sharedweb
Now, put the users into that group by adding them in /etc/group:
1
sharedweb:*:##:ann,bill,carl
Modify the users so that their primary group is sharedweb. If you forget this step, when they make new FTP files, they will be owned by each user’s primary group (sometimes named the same as the user on some systems) and the permissions will be completeld hosed.
1
2
3
usermod-gsharedweb ann
usermod-gsharedweb bill
usermod-gsharedweb carl
Users should be able upload, delete, and edit each other’s files.