Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357273 - net-ftp/pure-ftpd doesn't resolve UIDs/GIDs
Summary: net-ftp/pure-ftpd doesn't resolve UIDs/GIDs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 21:27 UTC by Johan Hattne
Modified: 2011-03-11 09:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Hattne 2011-03-03 21:27:42 UTC
net-ftp/pure-ftp as installed by portage never resolves uid:s or gid:s

Reproducible: Always

Steps to Reproduce:
1. emerge pure-ftpd
2. ftp localhost
3. ftp> ls
Actual Results:  
drwxr-xr-x    2 0           0                432 Jan  6 12:09 pub


Expected Results:  
drwxr-xr-x    2 root        root             432 Jan  6 12:09 pub


Currently, net-ftp/pure-ftp does not resolve user id:s or group id:s which causes the file owner to be shown with numeric id:s in those ftp clients that display  owner information.  Could the feature to always resolve id:s be configured in the ebuild, like what is already done for the ANON_CAN_DELETE (and friends) features?  Something like

  use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS

would do the trick.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-11 09:52:35 UTC
+*pure-ftpd-1.0.30 (11 Mar 2011)
+
+  11 Mar 2011; Lars Wendler <polynomial-c@gentoo.org> +pure-ftpd-1.0.30.ebuild,
+  metadata.xml:
+  Version bump. Added resolveids USE flag as requested by Johan Hattne in bug
+  #357273.
+

Thanks for the report :)