Re: dump(8) and permissions

2013-10-18 Thread Alexander Hall
On 10/11/13 15:38, Rodolfo Gouveia wrote: On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: Try `su' to your user on that system and try to `ls -lR' those dirs, I suppose he won't be able to do that. j. Thanks Jiri. Indeed he can't. I've looked at this closer and I found out that on so

Re: dump(8) and permissions

2013-10-12 Thread Craig R. Skinner
On 2013-10-12 Sat 11:47 AM |, Rodolfo Gouveia wrote: > > When /var is a real partition, there is a device node that corresponds to it > and the > group operator has read permissions on it. > Where possible, unmount partitions before dumping & dump the RAW character device: $ ls -l /dev/sd5f br

Re: dump(8) and permissions

2013-10-12 Thread Rodolfo Gouveia
On Fri, Oct 11, 2013 at 05:48:24PM -0400, Jiri B wrote: > So is it related to permissions on partition device? If so wow, > I didn't know how it works... When /var is a real partition, there is a device node that corresponds to it and the group operator has read permissions on it. cheers, --rod

Re: dump(8) and permissions

2013-10-11 Thread Jiri B
On Fri, Oct 11, 2013 at 04:56:36PM +0100, Rodolfo Gouveia wrote: > On Fri, Oct 11, 2013 at 04:56:35PM +0200, Remco wrote: > > Possibly, yes, but I don't think you're supplying all information necessary > > to > > determine that. The exact command you run isn't clear to me. > > Here it is, on the

Re: dump(8) and permissions

2013-10-11 Thread Rodolfo Gouveia
On Fri, Oct 11, 2013 at 04:56:35PM +0200, Remco wrote: > Possibly, yes, but I don't think you're supplying all information necessary > to > determine that. The exact command you run isn't clear to me. Here it is, on the machine without errors: $ id uid=1001(backup) gid=1001(backup) groups=1001(b

Re: dump(8) and permissions

2013-10-11 Thread Remco
Rodolfo Gouveia wrote: > On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: >> Try `su' to your user on that system and try to `ls -lR' those dirs, >> I suppose he won't be able to do that. >> >> j. > > Thanks Jiri. > Indeed he can't. > > I've looked at this closer and I found out that on

Re: dump(8) and permissions

2013-10-11 Thread Jiri B
On Fri, Oct 11, 2013 at 02:38:23PM +0100, Rodolfo Gouveia wrote: > On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: > > Try `su' to your user on that system and try to `ls -lR' those dirs, > > I suppose he won't be able to do that. > > > > j. > > Thanks Jiri. > Indeed he can't. > > I've

Re: dump(8) and permissions

2013-10-11 Thread Rodolfo Gouveia
On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: > Try `su' to your user on that system and try to `ls -lR' those dirs, > I suppose he won't be able to do that. > > j. Thanks Jiri. Indeed he can't. I've looked at this closer and I found out that on some machines dump doesn't give any err

Re: dump(8) and permissions

2013-10-11 Thread Jiri B
On Fri, Oct 11, 2013 at 01:59:33PM +0100, Rodolfo Gouveia wrote: > Hi all, > I've been using dump for backup a bunch of systems and I've > noticed that there are some areas it can't access: > DUMP: Can't fts_read /var/audit: Permission denied > DUMP: Can't fts_read /var/authpf: Permission denie

dump(8) and permissions

2013-10-11 Thread Rodolfo Gouveia
Hi all, I've been using dump for backup a bunch of systems and I've noticed that there are some areas it can't access: DUMP: Can't fts_read /var/audit: Permission denied DUMP: Can't fts_read /var/authpf: Permission denied DUMP: Can't fts_read /var/backups: Permission denied DUMP: Can't fts_