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
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
[kaboom@verdande evolution]$ grep ftp /etc/passwd
[kaboom@verdande evolution]$ ls /home/ftp
ls: /home/ftp: No such file or directory
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
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
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.