6.0.0-beta1
7/6/25

[#8479] Unable to create VFS directory "". on CentOS 5.3
Summary Unable to create VFS directory "". on CentOS 5.3
Queue Gollem
Queue Version 1.1
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester tom.adriaensen (at) hivset (dot) be
Created 08/05/2009 (5814 days ago)
Due
Updated 08/05/2009 (5814 days ago)
Assigned
Resolved 08/05/2009 (5814 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/05/2009 02:49:10 PM tom (dot) adriaensen (at) hivset (dot) be Comment #4 Reply to this comment
Thanks for your response, but the ftp server is still the same and 
didn't changed.

Even all the horde files can be the same. I've copied them back to the 
old server and tried it, without any problem.

On one server it works, the other it doesn't.

In the horde and ftp logs I see a logon to the ftp-server.






08/05/2009 02:43:28 PM Jan Schneider Comment #3
State ⇒ Not A Bug
Reply to this comment
Exactly what the messages says, the user that you used to log into the 
ftp server doesn't have permission to change to the root folder /.

Your ftp configuration is probably different than on your old server.

For further questions, please ask on the mailing list.
08/05/2009 12:51:10 PM tom (dot) adriaensen (at) hivset (dot) be Comment #2 Reply to this comment
If it may help, this is the content of " $list = 
Gollem::listFolder($currdir);"

Normally it should be a list of subdirectories and files.



PEAR_Error Object

(

     [error_message_prefix] =>

     [mode] => 1

     [level] => 1024

     [code] =>

     [message] => Niet in staat te wijzigen naar /.

     [userinfo] =>

     [backtrace] => Array

         (

             [0] => Array

                 (

                     [file] => /usr/share/pear/PEAR.php

                     [line] => 566

                     [function] => PEAR_Error

                     [class] => PEAR_Error

                     [type] => ->

                     [args] => Array

                         (

                             [0] => Niet in staat te wijzigen naar /.

                             [1] =>

                             [2] => 1

                             [3] => 1024

                             [4] =>

                         )



                 )



             [1] => Array

                 (

                     [file] => /var/www/html/horde/lib/VFS/ftp.php

                     [line] => 868

                     [function] => raiseError

                     [class] => PEAR

                     [object] => VFS_ftp Object

                         (

                             [_credentials] => Array

                                 (

                                     [0] => username

                                     [1] => password

                                 )



                             [_permissions] => Array

                                 (

                                     [owner] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [group] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [all] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                 )



                             [_stream] => Resource id #63

                             [_uids] => Array

                                 (

                                 )



                             [_gids] => Array

                                 (

                                 )



                             [_type] => win

                             [_params] => Array

                                 (

                                     [hostspec] => dc3.hivset.be

                                     [port] => 1022

                                     [pasv] =>

                                     [timeout] => 90

                                     [username] => tom.adriaensen

                                     [password] => Blitsje01

                                     [user] =>

                                     [vfs_quotalimit] => -1

                                     [vfs_quotaroot] => /

                                 )



                             [_logger] => Log_file Object

                                 (

                                     [_filename] => /tmp/horde.log

                                     [_fp] =>

                                     [_append] => 1

                                     [_locking] =>

                                     [_mode] => 420

                                     [_dirmode] => 493

                                     [_lineFormat] => %1$s %2$s [%3$s] %4$s

                                     [_timeFormat] => %b %d %H:%M:%S

                                     [_eol] =>



                                     [_opened] =>

                                     [_id] => 0ca241af9691f775d0b771adff558c0e

                                     [_ident] => HORDE

                                     [_priority] => 6

                                     [_mask] => 255

                                     [_listeners] => Array

                                         (

                                         )



                                     [_formatMap] => Array

                                         (

                                             [%{timestamp}] => %1$s

                                             [%{ident}] => %2$s

                                             [%{priority}] => %3$s

                                             [%{message}] => %4$s

                                             [%{file}] => %5$s

                                             [%{line}] => %6$s

                                             [%{function}] => %7$s

                                             [%{class}] => %8$s

                                             [%\{] => %%{

                                         )



                                 )



                             [_logLevel] => 5

                             [_vfsSize] =>

                         )



                     [type] => ->

                     [args] => Array

                         (

                             [0] => Niet in staat te wijzigen naar /.

                         )



                 )



             [2] => Array

                 (

                     [file] => /var/www/html/horde/lib/VFS/ftp.php

                     [line] => 508

                     [function] => _setPath

                     [class] => VFS_ftp

                     [object] => VFS_ftp Object

                         (

                             [_credentials] => Array

                                 (

                                     [0] => username

                                     [1] => password

                                 )



                             [_permissions] => Array

                                 (

                                     [owner] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [group] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [all] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                 )



                             [_stream] => Resource id #63

                             [_uids] => Array

                                 (

                                 )



                             [_gids] => Array

                                 (

                                 )



                             [_type] => win

                             [_params] => Array

                                 (

                                     [hostspec] => dc3.hivset.be

                                     [port] => 1022

                                     [pasv] =>

                                     [timeout] => 90

                                     [username] => tom.adriaensen

                                     [password] => Blitsje01

                                     [user] =>

                                     [vfs_quotalimit] => -1

                                     [vfs_quotaroot] => /

                                 )



                             [_logger] => Log_file Object

                                 (

                                     [_filename] => /tmp/horde.log

                                     [_fp] =>

                                     [_append] => 1

                                     [_locking] =>

                                     [_mode] => 420

                                     [_dirmode] => 493

                                     [_lineFormat] => %1$s %2$s [%3$s] %4$s

                                     [_timeFormat] => %b %d %H:%M:%S

                                     [_eol] =>



                                     [_opened] =>

                                     [_id] => 0ca241af9691f775d0b771adff558c0e

                                     [_ident] => HORDE

                                     [_priority] => 6

                                     [_mask] => 255

                                     [_listeners] => Array

                                         (

                                         )



                                     [_formatMap] => Array

                                         (

                                             [%{timestamp}] => %1$s

                                             [%{ident}] => %2$s

                                             [%{priority}] => %3$s

                                             [%{message}] => %4$s

                                             [%{file}] => %5$s

                                             [%{line}] => %6$s

                                             [%{function}] => %7$s

                                             [%{class}] => %8$s

                                             [%\{] => %%{

                                         )



                                 )



                             [_logLevel] => 5

                             [_vfsSize] =>

                         )



                     [type] => ->

                     [args] => Array

                         (

                             [0] => /

                         )



                 )



             [3] => Array

                 (

                     [file] => /var/www/html/horde/lib/VFS.php

                     [line] => 645

                     [function] => _listFolder

                     [class] => VFS_ftp

                     [object] => VFS_ftp Object

                         (

                             [_credentials] => Array

                                 (

                                     [0] => username

                                     [1] => password

                                 )



                             [_permissions] => Array

                                 (

                                     [owner] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [group] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [all] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                 )



                             [_stream] => Resource id #63

                             [_uids] => Array

                                 (

                                 )



                             [_gids] => Array

                                 (

                                 )



                             [_type] => win

                             [_params] => Array

                                 (

                                     [hostspec] => dc3.hivset.be

                                     [port] => 1022

                                     [pasv] =>

                                     [timeout] => 90

                                     [username] => tom.adriaensen

                                     [password] => Blitsje01

                                     [user] =>

                                     [vfs_quotalimit] => -1

                                     [vfs_quotaroot] => /

                                 )



                             [_logger] => Log_file Object

                                 (

                                     [_filename] => /tmp/horde.log

                                     [_fp] =>

                                     [_append] => 1

                                     [_locking] =>

                                     [_mode] => 420

                                     [_dirmode] => 493

                                     [_lineFormat] => %1$s %2$s [%3$s] %4$s

                                     [_timeFormat] => %b %d %H:%M:%S

                                     [_eol] =>



                                     [_opened] =>

                                     [_id] => 0ca241af9691f775d0b771adff558c0e

                                     [_ident] => HORDE

                                     [_priority] => 6

                                     [_mask] => 255

                                     [_listeners] => Array

                                         (

                                         )



                                     [_formatMap] => Array

                                         (

                                             [%{timestamp}] => %1$s

                                             [%{ident}] => %2$s

                                             [%{priority}] => %3$s

                                             [%{message}] => %4$s

                                             [%{file}] => %5$s

                                             [%{line}] => %6$s

                                             [%{function}] => %7$s

                                             [%{class}] => %8$s

                                             [%\{] => %%{

                                         )



                                 )



                             [_logLevel] => 5

                             [_vfsSize] =>

                         )



                     [type] => ->

                     [args] => Array

                         (

                             [0] => /

                             [1] =>

                             [2] => 0

                             [3] =>

                         )



                 )



             [4] => Array

                 (

                     [file] => /var/www/html/horde/gollem/lib/Gollem.php

                     [line] => 314

                     [function] => listFolder

                     [class] => VFS

                     [object] => VFS_ftp Object

                         (

                             [_credentials] => Array

                                 (

                                     [0] => username

                                     [1] => password

                                 )



                             [_permissions] => Array

                                 (

                                     [owner] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [group] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                     [all] => Array

                                         (

                                             [read] => 1

                                             [write] => 1

                                             [execute] => 1

                                         )



                                 )



                             [_stream] => Resource id #63

                             [_uids] => Array

                                 (

                                 )



                             [_gids] => Array

                                 (

                                 )



                             [_type] => win

                             [_params] => Array

                                 (

                                     [hostspec] => dc3.hivset.be

                                     [port] => 1022

                                     [pasv] =>

                                     [timeout] => 90

                                     [username] => tom.adriaensen

                                     [password] => Blitsje01

                                     [user] =>

                                     [vfs_quotalimit] => -1

                                     [vfs_quotaroot] => /

                                 )



                             [_logger] => Log_file Object

                                 (

                                     [_filename] => /tmp/horde.log

                                     [_fp] =>

                                     [_append] => 1

                                     [_locking] =>

                                     [_mode] => 420

                                     [_dirmode] => 493

                                     [_lineFormat] => %1$s %2$s [%3$s] %4$s

                                     [_timeFormat] => %b %d %H:%M:%S

                                     [_eol] =>



                                     [_opened] =>

                                     [_id] => 0ca241af9691f775d0b771adff558c0e

                                     [_ident] => HORDE

                                     [_priority] => 6

                                     [_mask] => 255

                                     [_listeners] => Array

                                         (

                                         )



                                     [_formatMap] => Array

                                         (

                                             [%{timestamp}] => %1$s

                                             [%{ident}] => %2$s

                                             [%{priority}] => %3$s

                                             [%{message}] => %4$s

                                             [%{file}] => %5$s

                                             [%{line}] => %6$s

                                             [%{function}] => %7$s

                                             [%{class}] => %8$s

                                             [%\{] => %%{

                                         )



                                 )



                             [_logLevel] => 5

                             [_vfsSize] =>

                         )



                     [type] => ->

                     [args] => Array

                         (

                             [0] => /

                             [1] =>

                             [2] => 0

                         )



                 )



             [5] => Array

                 (

                     [file] => /var/www/html/horde/gollem/manager.php

                     [line] => 206

                     [function] => listFolder

                     [class] => Gollem

                     [type] => ::

                     [args] => Array

                         (

                             [0] => /

                         )



                 )



         )



     [callback] =>

)


08/05/2009 11:09:38 AM tom (dot) adriaensen (at) hivset (dot) be Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Gollem
Summary ⇒ Unable to create VFS directory "". on CentOS 5.3
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I'm migrating horde from one server (Fedora 9) to another (Centos 5).

With the first server  I can access a ftp directory on a IIS server.

With the new server, I have a lot of troubles.

I always get this error:





    * Cannot create home directory: Unable to create VFS directory "".

    * Permission denied to folder "/": Unable to change to /.



I've checked the firewalls, no problem.

Manual connecting to the ftp directory from the server, no problem.

In the ftp logs a see a logon and a CWD, so the connection to the ftp 
server can be made.



A new install gave me the error, so I tried copying the current 
install. Still the same.

I've tried upgrading and downgrading, PHP, Pear and horde itself. Also 
the same.

I've tried it with a ftp server and later with a smb, still the same problem.



Google and the mailing list don't gave me a clue.

Is this a bug in Gollem?

The same installation copied back to the Fedora 9 server works without 
any problems.

Saved Queries