1832854 Members
3194 Online
110047 Solutions
New Discussion

restricted ftp

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

restricted ftp

Hi,

I have recently setup a restricted ftp account - no shell, no cd possible only downlod/upload content to the designated home directory. There is only one problem with the upload - the user wants to test multiple uploads and therefore the same file to upload. Even if the access rights to the file are set to wr for the user and the home directory he is not allowed to overwrite or delete the old file. Is there any workaround for that? The user group is written as guestgroup in ftpaccess and uploads directive in ftpaccess is also set to yes to the user $HOME...

thanks in advance
Ionut

If it weren't for STRESS I'd have no energy at all
2 REPLIES 2
Alex Lavrov.
Honored Contributor
Solution

Re: restricted ftp

The permissions for upload and delete/overwrite are different. You should permit he delete/overwite permission as well.


P.S. If there are several users that uses this ftp account, maybe it's not a good idea, because they can delete/overwite file of each other.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Ionut Grigorescu_2
Super Advisor

Re: restricted ftp

I have set the delete and overwite permissions for guest to yes (in ftpaccess)and it works. Thank you Alex!
If it weren't for STRESS I'd have no energy at all