[mythtv] [mythtv-commits] Ticket #3437: Invalid argument to 'find' in mythweb video module scan collection
kormoc at gmail.com
Wed May 9 15:54:38 UTC 2007
On 5/9/07, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> I have no idea what the "-readable" argument is supposed to do, but only
> finding files that can be read by every user is not appropriate. It's
> quite possible I may have files that can only be read by the mythtv user
> (owner) and the mythtv or httpd group (where the apache user is assumed
> to be in that group).
-readable, -writable, -executable
Matches files which are readable, writable and executable,
respectively. This takes into account access control lists and
other permissions artefacts which the -perm test ignores. This
test makes use of the access(2) system call
> But, as specified by the ticket, the "-readable" argument is not a
> standard argument, so it shouldn't be used, either.
Sadly, it *is* a standard argument, just with 4.3+, and I was under
(the mistaken) impression that every semi-new distro shipped with a
updated version of find. All well. We can do the checking php side.
More information about the mythtv-dev