On Fri, 17 May 2019 20:44:13 -0400
Nathan Stratton Treadway <[email protected]> wrote:
> > drwx------ 2 amandabackup amandabackup 4096 May 15 14:17 oldlog
> > -rw------- 1 amandabackup amandabackup 3328 May 15 14:17
> > log.20190515141736.0 -rw------- 1 amandabackup disk 36
> > May 15 16:27 log.20190515162732.0 -rw------- 1 amandabackup
> > disk 36 May 15 16:37 log.20190515163745.0
>
> (It's interesting that all of the log.* files with group ownership of
> "disk" are only 36 bytes long. I wonder if the different is between
> files created by commands you invoke with su -c "amandabackup"' [which
> has actual activity to record in the log.* file] and ones generated by
> commands initiated via the xinetd amanda service [which has
> "group=disk" specified... but apparently have no log activity to
> record], or something like that....)
OK, just for the halibut I changed the group in the xinetd file to
amandabackup, and ran a backup as user amandabackup. The only things
owned by group disk with today's date existed before today and were
updated today:
root@amanda:/etc/xinetd.d# find / -group disk -ls | grep 'May 18'
find: ‘/proc/20037/task/20037/fd/6’: No such file or directory
find: ‘/proc/20037/task/20037/fdinfo/6’: No such file or directory
find: ‘/proc/20037/fd/5’: No such file or directory
find: ‘/proc/20037/fdinfo/5’: No such file or directory
1968 4 -rw------- 1 amandabackup disk 112 May 18 13:54
/var/amanda/amandates
22520 4 drwxrwx--- 2 amandabackup disk 4096 May 18 13:54
/var/lib/amanda/gnutar-lists
1302 4 drwx------ 3 amandabackup disk 4096 May 18 13:54
/var/log/amanda/client
1308 4 drwx------ 2 amandabackup disk 4096 May 18 13:54
/var/log/amanda/client/DailySet1
967 4 drwx------ 2 amandabackup disk 4096 May 18 13:54
/var/log/amanda/amandad
root@amanda:/etc/xinetd.d#
But no freshly minted files are owned by group disk.
--
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
https://charlescurley.com