so i’m trying to setup an FTP box that will have a few departmental accounts on it, and want to set it up so that there is one account that can upload and delete files, and one that is just read only.
I thouhgt I could get away with this by creating upload_user and download_user accounts, and making both account have the same home directory /ftp.
problem is that when i upload with the upload_user account, and then try and go in and download the files with the download user account, it fails because the file that was uploaded is owned by the upload user.
anybody have any suggestions on how to accomplish this?
Is there a way to set the umask when using the FTP service? For example
if the umask is set to 022 then the permissions should be such that
anybody can read the file regardless of their identity.
With that in mind is there a reason you are using FTP with usernames? It
is completely insecure as it sends usernames, passwords, and all other
data (the files) in the clear.
Good luck.
bernie1774 wrote:
> so i’m trying to setup an FTP box that will have a few departmental
> accounts on it, and want to set it up so that there is one account that
> can upload and delete files, and one that is just read only.
>
> I thouhgt I could get away with this by creating upload_user and
> download_user accounts, and making both account have the same home
> directory /ftp.
>
> problem is that when i upload with the upload_user account, and then
> try and go in and download the files with the download user account, it
> fails because the file that was uploaded is owned by the upload user.
>
> anybody have any suggestions on how to accomplish this?
>
> Thanks!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
bernie1774 wrote:
> we are in a controlled network that is heavily firewalled, and this is a
> stand alone box with a few generic logins, hardly high security.
>
> i’m runnign VSFTPd, not sure if you can set umask for it or not
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/