Re: correct usage for file-only & (sub)dir-only shell globs in unit tmpfiles?

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

 



On Mo, 21.09.20 15:05, PGNet Dev (pgnet.dev@xxxxxxxxx) wrote:

> but, with
>
> 	/etc/tmpfiles.d/test.conf
> (1)     Z /home/test/TEST/{.,**/}          0750 nobody nobody -
> (2A)    Z /home/test/TEST/**               0640 nobody nobody -

mm, the "**" syntax is not something fnmatch(3) nor glob(3) support,
hence tmpfiles.d/ doesn't either.

I this is something worth supporting it probably needs support in
glibc first. I'd rather not like to deviate from glibc behaviour here.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux