6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5817] gollem can't change directory after a directory without read permission is entered
*
Your Email Address
*
Spam protection
Enter the letters below:
.___ __ . ..__ . . [__ / `| |[__)\ / | \__.|__|[__) \/
Comment
>> I'm unsure how you get this error as I'm trying to replicate it. > >> > >> Which driver are you using? Please provide some more information > >> regarding your dir permissions and backends.php settings. > > > > I am using the FTP driver. > > > > All directory permissions up to and including my home directory have > a drwxr-xr-x permissions. The problem is that FTP driver is > configured to access not upper than user's home directory. > > > > Note that originally I wanted to set in backends.php > > 'root' => '/mnt/caesar1/export1/home/'.$_SESSION['imp']['user'], > > to fix this, but some users have home directory in export2, export3, > ... ant this won't work for them. > > > > My backends.php : > > > > $backends['hordeftp'] = array( > > 'name' => 'FTP Server', > > 'driver' => 'ftp', > > 'preferred' => '', > > 'hordeauth' => true, > > 'params' => array( > > // The hostname/IP Address of the FTP server. > > 'hostspec' => '127.0.0.1', > > // The port number of the FTP server. > > 'port' => 21, > > // Use passive mode? > > 'pasv' => false, > > // Set timeout (in seconds) for the FTP server. Default: 90 seconds > > // 'timeout' => 90, > > // If true and the POSIX extension is available the driver will map > > // the user and group IDs returned from the FTP server with the local > > // IDs from the local password file. This is useful only if the FTP > > // server is running on localhost or if the local user/group > > // IDs are identical to the remote FTP server. > > // You must be running a version of Horde >= 3.1 for this > parameter to > > // have any effect. > > // 'maplocalids' => true, > > // The default permissions to set for newly created folders > and files. > > // 'permissions' => '750' > > ), > > 'loginparams' => array( > > // Allow the user to change the FTP server. > > // 'hostspec' => 'Hostname', > > // Allow the user to change the FTP port. > > // 'port' => 'Port' > > ), > > // 'root' => '', > > // 'home' => '', > > // 'createhome' => false, > > // 'filter' => '^regex$', > > // 'quota' => false, > > 'clipboard' => true, > > 'attributes' => array('type', 'name', 'download', 'modified', > 'size', 'permission', 'owner', 'group') > > ); > > > > The output of a session with ftp shell command: > > $ ftp 127.0.0.1 > > Connected to 127.0.0.1. > > 220 server1.company.com NcFTPd Server (free educational license) ready. > > Name (127.0.0.1:root): guybrush > > 331 User guybrush okay, need password. > > Password: > > 230-You are user #1 of 50 simultaneous users allowed. > > 230- > > 230 Restricted user logged in. > > Remote system type is UNIX. > > Using binary mode to transfer files. > > ftp> pwd > > 257 "/mnt/caesar1/export1/home/guybrush" is cwd. > > ftp> cd .. > > 553 Permission denied. > > ftp> cd /mnt/ > > 553 Permission denied. > > ftp> cd /mnt/caesar1/ > > 553 Permission denied. > > ftp> cd /mnt/caesar1/export1/ > > 553 Permission denied. > > ftp> cd /mnt/caesar1/export1/home/ > > 553 Permission denied. > > ftp>
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