[App_rpt-users] archivedir permissions

David McGough kb4fxc at inttek.net
Thu Jul 21 15:03:40 EDT 2016

Hi Tom,

Currently, the file permissions are hard-coded in the stock version of 
the app_rpt.c code.  See line #22084 of app_rpt.c:

fd = open(fname,O_WRONLY | O_CREAT | O_APPEND,0600);

So, only the file owner has read/write permission.

With the stock code, using chmod (perhaps from a cron script?) is the 
simplest solution.

73, David KB4FXC

On Thu, 21 Jul 2016, Tom Hayward wrote:

> I setup archivedir and am successfully getting recordings. I want to allow
> access to these recordings on a web server. The recordings are in the web
> root and I can browse them. When I try to download a recording, I get
> permission denied because the recording files do not have world-read and
> are owned by root. A chmod solves this, but only for old recordings. New
> files still get mode 0600. How can I change the mode of new files?
> Tom KD7LXL

More information about the App_rpt-users mailing list