Summary | gollem can't change directory after a directory without read permission is entered |
Queue | Gollem |
Queue Version | 1.0.3 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | Horde Developers (at) , slusarz (at) horde (dot) org |
Requester | pedretti (at) eco (dot) unibs (dot) it |
Created | 10/18/2007 (6551 days ago) |
Due | |
Updated | 11/13/2007 (6525 days ago) |
Assigned | 11/01/2007 (6537 days ago) |
Resolved | 11/13/2007 (6525 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
dir that you don't have read access to.
enter in that dir, and then you are blocked here. The only way to be
able to change the directory is to logout and do a new login.
command line ftp, etc.)
#2- What are we supposed to do about this? It is perfectly legal toenter a directory with execute privs only, and no ftp function we use
to interact with the server will throw an error.
#3- It is completely not true that there is no way to get back whenyou enter these directories. What about clicking on "My Home"? What
about clicking on "Change directory" and typing in the name of the
directory that you want to go to? Both work.
dir that you don't have read access to.
enter in that dir, and then you are blocked here. The only way to be
able to change the directory is to logout and do a new login.
dir that you don't have read access to.
dir that you don't have read access to.
Perhaps that behaviour would make more sense as you cannot get 'stuck'
in another directory.
State ⇒ Feedback
where you don't have permissions to view, your only course of action
is to use the "Change Folder" - but that is expected behavior.
The bug, however, still remains.
State ⇒ Assigned
Assigned to
Which driver are you using? Please provide some more information
regarding your dir permissions and backends.php settings.
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
#1of 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>
Which driver are you using? Please provide some more information
regarding your dir permissions and backends.php settings.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Gollem
Summary ⇒ gollem can't change directory after a directory without read permission is entered
Type ⇒ Bug
[Root]/mnt/caesar1/export1/home/guybrush
When I click on caesar1 in the previous path I get this error message:
Permission denied to folder "/mnt/caesar1": Unable to change to /mnt/caesar1.
and the path changes to:
[Root]/mnt
The problem is that clicking on [Root] will give the same permission
problem, and /mnt can't be cliked. Then I no more cannot view my home
directory, unless I exit and relogin from horde.
In my opinion, when trying to access a directory without read
permission it should show a pop-up with the error message, keeping on
the main window the view of the previous directory,