www-data login

Advertisement

hell0world
Guest

www-data login

Hi,

First post here.

To begin with, congratz on the amazing software. I'm hosting a few websites here and there and WinSCP is in my top-list when it comes to managing files remotely.

Now I have a simple (I think) question for you guys :

I'd like to know if there is any way to either login as 'www-data' when using SFTP without having to modify 'www-data' user's settings or if there's a way to run a script at logon or when adding/copying files trough WinSCP to automagically set the owner/group to 'www-data'. That'd save time when editing website files.

Many thanks,

Pierre-Luc

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: www-data login

Can you elaborate on "login as 'www-data' when using SFTP without having to modify 'www-data' user's settings"?

There's possibility to execute commands post-login with the FTP protocol only.

No post-transfer commands.
_________________
Martin Prikryl

Reply with quote

Guest

Thanks for the reply.

That answer my question. A post-transfer script when using SFTP would have indeed been what I was looking for.

I'll handle 'www-data''s permissions manually.

Reply with quote

Advertisement

You can post new topics in this forum