Bug #77765 [Opn->Csd]: FTP stream wrapper should set the directory as executable

From: Date: Tue, 19 Mar 2019 09:03:29 +0000
Subject: Bug #77765 [Opn->Csd]: FTP stream wrapper should set the directory as executable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220069@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77765&edit=1

 ID:                 77765
 Updated by:         nikic@php.net
 Reported by:        calin at presslabs dot com
 Summary:            FTP stream wrapper should set the directory as
                     executable
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Streams related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of vladtemian@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fe2885d80a76db84fd3a8e1556aff2221be195e1
Log: Fixed bug #77765


Previous Comments:
------------------------------------------------------------------------
[2019-03-18 14:49:43] cmb@php.net

For reference: <https://github.com/php/php-src/blob/86ba2084997de2520c901b4ab9c8efc7444de76f/ext/standard/ftp_fopen_wrapper.c#L801-L808>.

------------------------------------------------------------------------
[2019-03-18 14:43:34] calin at presslabs dot com

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 this bug report at https://bugs.php.net/bug.php?id=77765&edit=1


Thread (3 messages)

« previous php.bugs (#220069) next »