1
0
mirror of https://github.com/php/php-src.git synced 2026-04-15 12:01:07 +02:00
Files
archived-php-src/main/streams
Stanislav Malyshev e3133e4db7 Fix bug #77630 - safer rename() procedure
In order to rename safer, we do the following:
- set umask to 077 (unfortunately, not TS, so excluding ZTS)
- chown() first, to set proper group before allowing group access
- chmod() after, even if chown() fails
2019-03-04 09:15:11 -08:00
..
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00
2018-01-02 12:53:31 +08:00