Bug #77765 [NEW]: FTP stream wrapper should set the directory as executable

From: Date: Mon, 18 Mar 2019 14:43:34 +0000
Subject: Bug #77765 [NEW]: FTP stream wrapper should set the directory as executable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220047@lists.php.net to get a copy of this message
From:             calin at presslabs dot com
Operating system: 
PHP version:      Irrelevant
Package:          *Directory/Filesystem functions
Bug Type:         Bug
Bug description:FTP stream wrapper should set the directory as executable

Description:
------------
The ftp stream wrapper now sets the stat for directory to 40644. It
should also set the executable bit, because the directory bit is set
after cd-ing into that directory. The final permission should be 40755.

See ext/standard/ftp_fopen_wrapper.c lines 801-808.


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



Thread (3 messages)

« previous php.bugs (#220047) next »