Amanda-Users

Re: file driver permissions

2009-06-29 00:27:00
Subject: Re: file driver permissions
From: Casey Scott <casey AT phantombsd DOT org>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Sun, 28 Jun 2009 21:15:19 -0700 (PDT)
> On Sun, Jun 28, 2009 at 10:32 AM, Casey Scott<casey AT phantombsd DOT org>
> wrote:
> > I have a backup job configured to use files (virtual tapes). How can
> I control the permissions that the files get written with? Currently,
> their group have no permissions, but I would like group to have read
> permission.
> 
> This appears in the code:
> 
> /* This looks dangerous, but is actually modified by the umask. */
> #define VFS_DEVICE_CREAT_MODE 0666
> 
> so I think you should look to the process umask to adjust that.

Amanda runs as user amanda which has a umask=022. I'm not sure how the 
permission is getting changed since all the backup files are created as 600


<Prev in Thread] Current Thread [Next in Thread>