I have a remote user uploading files to my system and I would like to restrict the uploading to one directory and not allow "cd"ing to anywhere else, or copy, read etc. I would also like to have the uploaded file be owned by another user after it is uploaded without manually chowning it.
So remote user ftp's as ftp1 which put's him in a directory /u1/dir2/dir3/upload/ and the file he uploads needs to be owned by user2 so user2 can get it and do whatever he needs to it.
Ftp1 does not need to download from my system or do anything but upload a file.
I've been searching the web for answers but have not found them yet. I know this forum will have the answer or point me to TID on it.
Thanks so much for your time.
So remote user ftp's as ftp1 which put's him in a directory /u1/dir2/dir3/upload/ and the file he uploads needs to be owned by user2 so user2 can get it and do whatever he needs to it.
Ftp1 does not need to download from my system or do anything but upload a file.
I've been searching the web for answers but have not found them yet. I know this forum will have the answer or point me to TID on it.
Thanks so much for your time.