Restrict file overwrite through FTP

How can I restrict a user from overwriting a file once he has uploaded it through FTP. He can view the file but can't delete or overwrite it. (OS is UNIX, there is no restriction on client FTP software)

Will be very glad if someone could resolve this problem.

Thanks

Imran Aziz Khan

:confused:

Since writing is same as deleting in Unix, I doubt you can do this. Maybe one of the many ftpd like wuftpd or proftpd offer such features.

Thanks for the reply, but the problem is that, I have to restrict it on the server, client can use any software or simply ftp command from commant prompt. I have to allow the user to copy/upload a file on the folder but disallow deletion or overwriting a file.

As stated, check out what features the other ftpd's offer.

What is the server platform? Does it have inotify?

Server has AIX and user connects through FTP command prompt from windows environment. Need to implement the restriction on server side, in such a way that user can upload the file but can't delete or overwrite a file

You may want to use the -u option on the ftpd.

Look at this thread FTP File Permission

Problem is that as I have previously mentioned, user is using ftp command prompt from windows environment and delebratly deleting or overwriting the file, I have to restrict it on the server.