php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77765 FTP stream wrapper should set the directory as executable
Submitted: 2019-03-18 14:43 UTC Modified: 2019-03-18 14:49 UTC
From: calin at presslabs dot com Assigned:
Status: Closed Package: Streams related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: calin at presslabs dot com
New email:
PHP Version: OS:

 

 [2019-03-18 14:43 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-18 14:49 UTC] cmb@php.net
-Package: *Directory/Filesystem functions +Package: Streams related
 [2019-03-19 09:03 UTC] nikic@php.net
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
 [2019-03-19 09:03 UTC] nikic@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 16:01:26 2019 UTC