I just did a fresh install of RC1, and noticed that the ftp account is being created with a home directory of /home/ftp. This should be /var/ftp to comply with the (brain-dead) standards about shovelling all that crap in /var. Furthermore, the home directory created doesn't even exist. I presume it's created by the anonftp package, which wasn't installed (should it have been, as a dep?) [kaboom@verdande evolution]$ rpm -qa | grep ftp lftp-2.4.0-1 tftp-0.17-14 ncftp-3.0.3-6 ftp-0.17-12 wu-ftpd-2.6.1-18 [kaboom@verdande evolution]$ grep ftp /etc/passwd ftp:x:14:50:FTP User:/home/ftp:/sbin/nologin [kaboom@verdande evolution]$ ls /home/ftp ls: /home/ftp: No such file or directory [kaboom@verdande evolution]$
Actually the user isn't created at all - it's in the initial /etc/passwd file in the setup package.
Okay, that would make a little more sense. While you're fixing stuff with the password file, it also contains gopher:x:13:30:gopher:/usr/lib/gopher-data:/sbin/nologin The home for gopher should also be moved to /var to be standards-compliant (I'm not sure if RH even ships a gopher server any more that might need changing as well?)
anonftp %post changes the home dir, for use on upgrades, FWIW. So any situation that needs it should be fixed. (The problem is since passwd/group are all correctly %config(noreplace), any changes to them must be done twice (once in setup, once in a %pre/%post somewhere other than setup (putting the scripts on setup causes prereq loops.)))
This defect is considered SHOULD-FIX for Fairfax.
Will be changed in 2.5.6-1.