The eternal 'how to allow user to edit www-data files' problem.
Smoot Carl-Mitchell
smoot at tic.com
Tue Apr 12 16:34:10 UTC 2022
On Wed, 2022-04-13 at 02:29 +1000, Karl Auer wrote:
> On Tue, 2022-04-12 at 08:52 -0700, Smoot Carl-Mitchell via ubuntu-
> users
> wrote:
> > [some good stuff about setgid and so on]
>
> I confess that on several websites I have a cron job that runs every
> minute and does something like "chown -R www-data:www-data
> /var/www/html ; chmod -R u=rw,go=r /var/www/html"
>
> Lo-tech I know, but very effective. I suppose if you had special
> cases
> you could write an actual script and run that every minute.
Yes, I have done that on occasion as well. :-)
cron is incredibly useful.
--
Smoot Carl-Mitchell
System/Network Architect
voice: +1 480 922-7313
cell: +1 602 421-9005
smoot at tic.com
More information about the ubuntu-users
mailing list