Hi, I'm trying to figure out for quite some time but no luck. I want be able to give user debian-transmission same write permission as client1 has because I want debian-transmission be able to write to /var/www/clients/client1/web12/private/newdirectory What ever I tried it says that user does not have permission. What am I doing wrong? Don't want to include debian-transmission to group www-data due to security issues? Thanks!
the only way to give hime write permissions is to make it a alias user of web1. a alias user is a user that shares the same numeric userid in /etc/passwd then the main (web1) user. ISPConfig uses alias users e.g. for the additional shell users of the websites.
Thanks for the reply! If I understood you correctly in Webmin that would look something like in attached image?
No, the relevant field is UserID. This ID has to be the same for the web1 user and your additional user.
I tried to find information online that explains this and closest I found is this: 4.1.2 Multiple Accounts with the Same UID http://docstore.mik.ua/orelly/networking/puis/ch04_01.htm In my case if /etc/passwd currently has this web1:x:5004:5005::/var/www/clients/client1/web1:/bin/false than user debian-transmission should currently instead of debian-transmission:x:128:137::/home/debian-transmission:/bin/false have debian-transmission:x:5004:5005::/home/debian-transmission:/bin/false ?
Yes. But why do you use a user debian-transmission for yur other application instead of running it as web1? If you need a second ssh user for a website, then better create one in ispconfig for that site. When debian-transmission is a debian system user, then changing its uid will likely break the software that is currently running under this user.
All I want is to be able to connect using FTP account to this /var/www/clients/client1/web12/private/newdirectory and of course transmission-daemon (transmissionbt) be able to write to that directory as well. Do you have better approach? can you give me example?
Thanks for the hint about running as transmission-daemon. Under list of users I do not have transmission-daemon as a user, only debian-transmission which is user created by GUI desktop version of transmissionBT (I think). I think that's my problem, how do I tell system to run transmission-daemon as web1 user when it doesn't exist?
I dont know this software, so I just googled a bit and found this post about running the software under a different user (in your case the user web1): http://askubuntu.com/questions/261252/how-do-i-change-the-user-transmission-runs-under https://forum.transmissionbt.com/viewtopic.php?t=14836
Thanks for the links! In case someone runs into same issue I solved it but adding client1 to debian-transmission group.