6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10923] horde-set-perms not working
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.._..__ . . |\ | | | [ __\ / | \| | _|_[_./ \/
Comment
>> >> There is something wrong with your PHP then. >> RecursiveIteratorIterator::SELF_FIRST only changes the order of the >> iterator elements. It doesn't change whether directories are included >> or not. > > PHP-documentation states that the default mode is > RecursiveIteratorIterator::LEAVES_ONLY, which returns only files > including 'path/..' and sometimes 'path/.' for my setup. Due to the > '!$it->isDot()'-restriction, the dot-entries are skipped, so no > directories are changed. Changing the restriction to 'if > ($val->getFilename() != '..' )', gets most of the directories and > leaves 'HORDE_BASE/..' unchanged, but > RecursiveIteratorIterator::SELF_FIRST still is necessary for those > directories not returned as 'path/.' > I include a patch to your last version with these changes here.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers