Opened 12 years ago
Closed 11 years ago
#23589 closed defect (bug) (fixed)
FS_CHMOD_FILE doesn't work for ssh
Reported by: | x-yuri | Owned by: | dd32 |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.5.1 |
Component: | Filesystem API | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Steps to reproduce:
- set up ssh access for WordPress (FTP_* constants).
define('FS_CHMOD_FILE', 0664)
.- install some theme.
Expected result: files have 0664 permissions.
Actual result: files have default permissions (0644).
I believe this happens because filename is ltrimmed before sending over SSH, but not restored before changing permissions. See this.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 25306: