Which user is reading files on client for backup running

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Which user is reading files on client for backup running

c.monty
Hello!
The files on the client that are identified for backup have restricted permissions 640 and have a specific owner/group (not root).

When I run a backup I get this error:
ERR=Permission denied.

The error message is clear, and the root cause is that the Bacula user accessing the files on the client has insufficient permissions.

Question:
Which user is reading files on client for backup?
Or which user is connection from Bacula directory to Bacula client?


THX

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Which user is reading files on client for backup running

Josip Deanovic
On Wednesday 2016-12-07 15:38:23 [hidden email] wrote:

> Hello!
> The files on the client that are identified for backup have restricted
> permissions 640 and have a specific owner/group (not root).
>
> When I run a backup I get this error:
> ERR=Permission denied.
>
> The error message is clear, and the root cause is that the Bacula user
> accessing the files on the client has insufficient permissions.
>
> Question:
> Which user is reading files on client for backup?
> Or which user is connection from Bacula directory to Bacula client?

Hi!

The user used for reading files on the client server during the backup
is the user bacula file daemon is set to run as.

You can use command such as this to check the process list and see the
user bacula-fd is using: ps aux | grep bacula-fd

In most cases it is normal to run it as root and in some cases you can
set it to run under some unprivileged user but it really depends on the
ownership of the files and directories you need to backup.

--
Josip Deanovic

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...