vendredi 4 décembre 2015

permissions for user www in symlinked directory

I have a server, where USER can upload newFile.txt through ftp to my local directory only for ftp uploads: /mnt/web/abc/newFile.txt.

But...I wan't the newFile.txt from ftp folder to be symlinked to /mnt/web/www/abc/* and make it visible as www share: http://ift.tt/1NMTnga

Problem is that www user can't see files of ftp user until I will manually :

chmod -R ugo+rw /mnt/web/www/abc/newFile.txt 

Should I bind ftp and www users in some group or??

How should I do it ...???




Aucun commentaire:

Enregistrer un commentaire