[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange journald *.journal file permissions



On 2015-07-07 13:35:00 +0200, Christian Seiler wrote:
> Am 2015-07-05 13:03, schrieb Vincent Lefevre:
> >Can anyone explain these strange journald permissions?
> >
> >-rw-r-x---+ 1 root root            16777216 2015-07-05 12:57:55
> >system.journal*
> >-rw-r-x---+ 1 root systemd-journal  8388608 2015-07-05 12:17:21
> >user-1000.journal*
> >
> >More precisely, why the bit x for the group?
> 
> So when activating the persistent journal, README.Debian contains
> the following line:
> setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal
> 
> Did you by any chance forget the -n when executing it, so that
> instead you executed
> setfacl -R -m g:adm:rx,d:g:adm:rx /var/log/journal
> ?

I activated the persistent journal by setting Storage=persistent
in /etc/systemd/journald.conf, but didn't do anything else. In
particular, I've never used setfacl.

So, where does this bit x come from?

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: