[RESOLVED] Access the entire file system

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
Greg_Talyor
Posts: 38
Joined: Mon Aug 17, 2020 7:41 pm

[RESOLVED] Access the entire file system

Post by Greg_Talyor »

I have v1.37.61 with all default settings (me think). I can use,

Code: Select all

https://host/zm/index.php?view=files&path=/
to access the entire file system. Is there a setting to limit access to /var/cache/zoneminder/ only? Or do I need to restrict access to user www-data by setting the right file permissions myself? If the latter, which directories Zoneminder has to have read only and read/write accesses in its normal operation?

Ta.
Last edited by Greg_Talyor on Sun Jul 07, 2024 3:10 pm, edited 1 time in total.
User avatar
iconnor
Posts: 3266
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Access the entire file system

Post by iconnor »

ZM is supposed to only access paths defined as storage areas... could be a bug though.
User avatar
iconnor
Posts: 3266
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Access the entire file system

Post by iconnor »

Turns out it didn't. Does now. See 1.37.62
Greg_Talyor
Posts: 38
Joined: Mon Aug 17, 2020 7:41 pm

Re: Access the entire file system

Post by Greg_Talyor »

v1.37.62 resolves the problem. Many thanks. Ta
Post Reply