Bug #78112 [NEW]: tempnam() wrong perms on nfsv4 fs.

From: Date: Wed, 05 Jun 2019 16:43:12 +0000
Subject: Bug #78112 [NEW]: tempnam() wrong perms on nfsv4 fs.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221139@lists.php.net to get a copy of this message
From:             daniele dot aluigi at semplify dot net
Operating system: linux
PHP version:      7.2.19
Package:          Filesystem function related
Bug Type:         Bug
Bug description:tempnam() wrong perms on nfsv4 fs.

Description:
------------
Wrong behavior using tempnam() on an nfs v4 network filesystem.

Temporary file is correctly created and returned with full path, but
with wrong perms: 0000 instead of 0600, so basically it's not
writeable.

Works with the same mount options on the same FS but using nfs v3.



-- 
Edit bug report at https://bugs.php.net/bug.php?id=78112&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=78112&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=78112&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=78112&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=78112&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=78112&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=78112&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=78112&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=78112&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=78112&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=78112&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=78112&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=78112&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=78112&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78112&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=78112&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=78112&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=78112&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78112&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=78112&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=78112&r=mysqlcfg



Thread (6 messages)

« previous php.bugs (#221139) next »