Re: [webmin-l] Webmin fails to configure logrotate using existing permissions
Andrey Repin <[email protected]> Tue, 20 Aug 2019 12:53:46 +0300
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings, Joaquim Homrighausen! > You may be right ... but the manpage (at least for me) shows this: > create mode owner group, create owner group > Immediately after rotation (before the postrotate > script is run) the log file is created (with the same name as > the log file just rotated). mode specifies the mode for > the log file in octal (the same as chmod(2)), owner spec‐ > ifies the user name who will own the log file, and > group specifies the group the log file will belong to. Any of > the log file attributes may be omitted, in which case > those attributes for the new file will use the same values > as the original log file for the omitted attributes. This > option can be disabled using the nocreate option. > And I don't see any "create" instruction in there. But maybe one of the > other options imply "create"? I read the man page like "create" is default, and it creates files with ownership/umask of a user running logrotate, unless something else specified. -- With best regards, Andrey Repin Tuesday, August 20, 2019 12:52:24 Sorry for my terrible english... - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list