Discussion:
[Proftpd-user] 1.3.5a HideGroup + prefix possible bug?
Robert Khachikyan
2015-12-01 22:29:47 UTC
Permalink
Dear Community,

There may be a bug in the recent 1.3.5a version. And I use that word
very cautiously as it may be an unwanted feature I've overlooked.

When I configure with "./configure --prefix=/opt/proftpd-1.3.5a",
certain features in HideGroup or HideUser don't work when using
ANONYMOUS_FTP.
HideGroup 'xfr' is not a known/valid group, ignoring
However, when I configure with "./configure", these same features works
fine.
retrieved GID 22478 for group 'xfr'
A little more info for the developer/debugger:

When I ftp to the server, the server log initially shows that it's able
to retrieve the groupID for the 'xfr' account. This is just logging in
w/o typing anything. However, when I issue a dir (where there's a
directory in the /var/ftp dir that's group is 'xfr'), it fails to
retrieve the groupID.

I'm curious to learn is this is an error or a feature I've overlooked?

Thanks,
--Robert

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Matus UHLAR - fantomas
2015-12-02 08:20:15 UTC
Permalink
Post by Robert Khachikyan
When I configure with "./configure --prefix=/opt/proftpd-1.3.5a",
certain features in HideGroup or HideUser don't work when using
ANONYMOUS_FTP.
HideGroup 'xfr' is not a known/valid group, ignoring
are you using defaultroot?
Tried with numeric gid instead of group name?
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Eagles may soar, but weasels don't get sucked into jet engines.

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
TJ Saunders
2015-12-02 20:22:44 UTC
Permalink
Post by Robert Khachikyan
When I configure with "./configure --prefix=/opt/proftpd-1.3.5a",
certain features in HideGroup or HideUser don't work when using
ANONYMOUS_FTP.
HideGroup 'xfr' is not a known/valid group, ignoring
If you are using the ANONYMOUS_FTP define (e.g. from a proftpd package),
it suggests you are using <Anonymous> logins. And anonymous logins are
automatically chrooted. When there are issues resolving user/group
names within a chrooted session, you might find that you need to add:

PersistentPasswd on

to your proftpd.conf; see:

http://www.proftpd.org/docs/directives/linked/config_ref_PersistentPasswd.html

TJ

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Loading...