Ticket #291 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

/tmp permissions

Reported by: Darth_Sebulba05@… Owned by: mbonetti
Priority: normal Milestone: Gregarius 0.5.5
Component: BUGS Version:
Severity: normal Keywords: cache, permissions
Cc: Darth_Sebulba05@…

Description

It seems, at least on my server, that new cache files in the /tmp directory are given a default permission of 0600 and owned by www-user (which is, of course, secure).

Now, if I try to use the console update, I'm unable to write to that cache from a cron job, because the user who is executing it is not the www-user nor root (and can't be).

I know it's just a matter of sticking a php.net/chmod in there, but I'll have to dig into it and see where.

Change History

Changed 3 years ago by sdcosta

  • status changed from new to closed
  • resolution set to wontfix

Chris, I dont think we need to bother with this one for now.

I dont think the www-user can chmod things to a regular user. Nor do i think a regular user can chmod it to your webserver process uid. Different machines have different setups with permissions anyway....

I am closing this in favour of #292

but please post here if you have any concerns...

Note: See TracTickets for help on using tickets.