Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-04 Thread Dimitri Maziuk
On 11/04/2016 11:12 AM, Francis The Metman wrote: > OK, I will check that, thanks Josh is correct, but if you're setting it all up from scratch for the first time, and you didn't mess with the defaults, the most likely causes are: - if you can't create storage files as bacula user, you're looking

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-04 Thread Francis The Metman
OK, I will check that, thanks - Original Message - > From: "Josh Fisher" > To: bacula-users@lists.sourceforge.net > Sent: Friday, 4 November, 2016 1:48:00 PM > Subject: Re: [Bacula-users] Permissions problem backing up to NFS Share > > > On 11/3/201

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-04 Thread Josh Fisher
On 11/3/2016 2:32 PM, Dimitri Maziuk wrote: > Mount/export options aside, if you can create files as bacula user, then > your problem is not permissions. Not necessarily. It is bacula-sd, not bacula-dir, that needs to have write permission. It depends on what uid:gid bacula-sd runs as.Many time

Re: [Bacula-users] Permissions problem backing up to NFS Share [SOLVED]

2016-11-03 Thread Francis The Metman
>You are welcome. >Since you have said that you are new to Bacula let me recommend you >an excellent Bacula's documentation which will without doubt come as >an invaluable source of information if you seriously plan to use Bacula: >http://blog.bacula.org/documentation/documentation/ >Josip Deanov

Re: [Bacula-users] Permissions problem backing up to NFS Share [SOLVED]

2016-11-03 Thread Josip Deanovic
On Thursday 2016-11-03 19:18:18 Francis The Metman wrote: > Sorry, sent from wrong enmail again!! > Dear Josip > > >Just to make sure once again... > >And when you su to user bacula you can enter the directory > >/home/backuppc/ToBackup/bacula-backups/xensync and create a file > >in that directory

Re: [Bacula-users] Permissions problem backing up to NFS Share [SOLVED]

2016-11-03 Thread Francis The Metman
Sorry, sent from wrong enmail again!! Dear Josip >Just to make sure once again... >And when you su to user bacula you can enter the directory >/home/backuppc/ToBackup/bacula-backups/xensync and create a file >in that directory? No I can't I can in the directory below, so I deleted the x

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Josip Deanovic
On Thursday 2016-11-03 17:56:35 TheMetMan wrote: > I have just tried > su - bacula > with bacula user having /bin/bash and that works, no password. > I can create a file in the bacula-backups folder and delete it. > However I get the same permissions error when I try to set a label. > Here is

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread TheMetMan
=sys,mountaddr=10.6.77.220,mountvers=3,mountport=20048,mountproto=tcp,local_lock=all,addr=10.6.77.220,_netdev) regards Francis From: "Dimitri Maziuk" To: "themetman" Cc: "Bacula-users" Sent: Thursday, 3 November, 2016 18:26:34 Subject: Re: [Bacula-users] Per

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Dimitri Maziuk
On 11/03/2016 01:17 PM, Francis The Metman wrote: > Sorry just sent this from the wrong Email > Thanks, Dimitri, I added the 'all_squash' on the server side, reloaded the > exports, but no good. Ermm, all_squash is the opposite of what you want. Sorry for not being clearer: all_squash is anothe

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Dimitri Maziuk
Mount/export options aside, if you can create files as bacula user, then your problem is not permissions. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu signature.asc Description: OpenPGP digital signature ---

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Francis The Metman
, 3 November, 2016 18:16:17 Subject: Re: [Bacula-users] Permissions problem backing up to NFS Share Thanks, Dimitri, I added the 'all_squash' on the server side, reloaded the exports, but no good. The NFS server is running CentOS 7 with SELINUX=disabled and the Gentoo server is a xe

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread TheMetMan
many thanks Francis From: "Patti Clark" To: "themetman" , "Bacula-users" Sent: Thursday, 3 November, 2016 17:16:09 Subject: Re: [Bacula-users] Permissions problem backing up to NFS Share Can you su or sudo to the bacula user and see if you ca

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Dimitri Maziuk
PS also - export with "all_squash" on the server side Permissions on the mountpoint/parent and/or selinux would be the more likely culprits. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu signature.asc Description: OpenPGP digital signature

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Dimitri Maziuk
On 11/03/2016 12:49 PM, TheMetMan wrote: > Dear Patti, thanks for the swift reply!! > I cannot su - bacula as root, I get 'This account is currently not > available.' > here is the /etc/passwd entry for the bacula user > > bacula:x:102:121:added by portage for bacula:/var/lib/bacula:/sbin/nolo

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread TheMetMan
hanks again Francis From: "Clark, Patti" To: "themetman" , "Bacula-users" Sent: Thursday, 3 November, 2016 17:16:09 Subject: Re: [Bacula-users] Permissions problem backing up to NFS Share Can you su or sudo to the bacula user and see if you can manually

Re: [Bacula-users] Permissions problem backing up to NFS Share

2016-11-03 Thread Clark, Patti
Can you su or sudo to the bacula user and see if you can manually create/modify/delete files on your backup storage location? - My file storage is owned by bacula:root and permissions are 770 – I would not have it set to be so wide open. Is bacula user a member of your disk group? If the