-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow uid/gid to be specified numerically #217
Comments
What is the actual use case for this? Rotating log files over network file systems? I am afraid this would introduce all the troubles with user names consisting of digits only: https://www.gnu.org/software/coreutils/manual/html_node/Disambiguating-names-and-IDs.html |
Ok, thanks. So I guess it's a wontfix then. |
aside the network mounts, more typical usercase:
for backward compatibility, should use pw_nam if such user exist, then use numeric pw_uid i.e if |
Allow uids and gids to be specified numerically, but only as a fallback to retain backward compatibility. Closes: logrotate#217
Allow uids and gids to be specified numerically, but only as a fallback to retain backward compatibility. Drop usage of endpwent()/endgrent(), they are coupled with getpwent()/ getgrent() not getpwnam() and getgrnam(). Closes: logrotate#217
Allow uids and gids to be specified numerically, but only as a fallback to retain backward compatibility. Drop usage of endpwent()/endgrent(), they are coupled with getpwent()/ getgrent() not getpwnam() and getgrnam(). Closes: logrotate#217
Allow uids and gids to be specified numerically, but only as a fallback to retain backward compatibility. Drop usage of endpwent()/endgrent(), they are coupled with getpwent()/ getgrent() not getpwnam() and getgrnam(). Closes: logrotate#217
Allow uids and gids to be specified numerically, but only as a fallback to retain backward compatibility. Drop usage of endpwent()/endgrent(), they are coupled with getpwent()/ getgrent() not getpwnam() and getgrnam(). Closes: #217
From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415857:
Attached patch:
The text was updated successfully, but these errors were encountered: