monit-general
[Top][All Lists]
Advanced

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

Re: check directories and files with wildcard names


From: Martin Pala
Subject: Re: check directories and files with wildcard names
Date: Thu, 21 May 2015 22:50:10 +0200

Hi,

currently wildcards are not supported, we plan to add this in the future.

Regards,
Martin


On 20 May 2015, at 18:11, Tiago Almeida <address@hidden> wrote:

Hi,

is there anyway i could check the user owner for wildcard name directories our files ?
From what i've read so far this can be only done one by one.


Ex:
check directory DIR path /path/to/dir/*/uploads
if failed uid USER then  exec "/bin/bash -c 'chown -R USER.  /path/to/dir/*/uploads'"

Regards


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]