i guess this one is a real noob-question, but in fact, i'm a noob.
ok, i have a directory, /var/www/site with default www-data user rights. I installed vsftp to upload files to this directory with the user ftpuser...
every file/dir in the directory /var/www/site has as user/group ftpuser... no problem, everything is readable... but not writable!
** So, i can give user/group ftpuser read/write rights to all uploaded items, but i don't know how.
** I can upload with user www-data, but i don't have an idea to fix this one... i only know i redirected my homefolder from /home/ftpuser to /var/www/site in the file /etc/passwd.
** Can i specify multiple groups with write-rights on one directory? I don't know how.
security is not a big issue, it's only for internal use, but a secure solution would be better. I've read 'linux in a nutshell' but the topic about permissions is really 'in a nutshell'.
there are some other solutions on this forum, but i thought i found a new way... :-S
Someone an idea? would be great! thx!