You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration file for the GridFTP server is read from the following locations, in the given order. Only the first file found will be loaded:
* Path specified with the -c <configfile> command line option.
* $GLOBUS_LOCATION/etc/gridftp.conf
* /etc/grid-security/gridftp.conf
Which creates a false impression that if $GLOBUS_LOCATION is not defined, /etc/gridftp.conf will be read. But in fact it isn't the case:
Hello,
The docs (e.g., https://gridcf.org/gct-docs/6.2/gridftp/admin/index.html#gridftp-config-overview), but also the man page says:
Which creates a false impression that if
$GLOBUS_LOCATION
is not defined, /etc/gridftp.conf will be read. But in fact it isn't the case:gct/gridftp/server/src/globus_i_gfs_config.c
Lines 3067 to 3075 in b01606b
Later,
local_config_file
does become (typically)/etc/gridftp.conf
:gct/gridftp/server/src/globus_i_gfs_config.c
Lines 3269 to 3272 in b01606b
However, this is only used for setting environment
gct/gridftp/server/src/globus_i_gfs_config.c
Line 3119 in b01606b
But contrary to
global_config_file
, it is NOT parsed byglobus_l_gfs_config_load_config_file()
.Most confusing, in the log gridftp then happily reports that
/etc/gridftp.conf
was used...Regards,
Evgeny
The text was updated successfully, but these errors were encountered: