On 11/09/2020 18.59, Bernhard Voelker wrote:
On 2020-09-09 07:22, David C. Rankin wrote:
On 9/5/20 4:24 PM, Dave Howorth wrote:
Thanks, yes, it did. Any idea why zdump is root-only? What's 'special' about knowing what timezone I'm in?
That's an openSUSE thing, either permissions or apparmour. On all other distros I check it is 0755.
It has 755
$ ls -l /usr/sbin/zdump -rwxr-xr-x 1 root root 47616 Aug 25 13:55 /usr/sbin/zdump
The point is that it is installed in /usr/sbin instead of /usr/bin. Hence, it is not found in a standard user's PATH. No idea why.
My user finds it: cer@Telcontar:~> which zdump /usr/sbin/zdump cer@Telcontar:~> zdump cer@Telcontar:~> zdump --help zdump: usage: zdump OPTIONS TIMEZONE ... Options include: -c [L,]U Start at year L (default -500), end before year U (default 2500) -t [L,]U Start at time L, end before time U (in seconds since 1970) -i List transitions briefly (format is experimental) -v List transitions verbosely -V List transitions a bit less verbosely --help Output this help --version Output version info Report bugs to tz@iana.org. cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)