BackupPC-users

Re: [BackupPC-users] Backup Fails on Access Denied Warning

2012-09-10 15:48:06
Subject: Re: [BackupPC-users] Backup Fails on Access Denied Warning
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 10 Sep 2012 14:45:52 -0500

> Hi guys,
>
> The following error keeps coming up when backing up my Windows 2008
> server;
>
> Domain=[2008BACKUPTEST] OS=[Windows Server (R) 2008 Standard 6002 Service
> Pack 2] Server=[Windows Server (R) 2008 Standard 6.0]
> tarmode is now full, system, hidden, noreset, verbose
> NT_STATUS_ACCESS_DENIED listing \ProgramData\Application Data\*
> NT_STATUS_ACCESS_DENIED listing \ProgramData\*
> This backup will fail because: NT_STATUS_ACCESS_DENIED listing \\*
> NT_STATUS_ACCESS_DENIED listing \\*
>
> The file keeps failing (with access denied) on the following types of
> files;
>
> Windows 2008
>
> Go to a folder and on the tab with File, Edit, View, Tools, Help do the
> following;
>
> Tools > Folder Options > View > Hide protected operating system files
> (Recommended).
>
> Apply this, and all the files that then show up are the ones that are
> failing.
>
> To get past it on a specific file I need to right click the folder,
>
> Properties > Security > Edit
>
> Then Remove the line that has a deny value, and make the rest Full
> Control.
>
> This may be okay to do now and then but there are so many of those files
> it is unreasonable to do it on every single file, and this should be
> working without the need for this.

If you're saying that you should be able to read files without having
permission to read files ... well, frankly, that doesn't make a lot of
sense.  Since you're using Samba, the NTFS and Share permissions are
combined to use the most restrictive privileges, so you'll need to pay
attention to both.

Windows doesn't really have an option to suspend either one, and you may
be running into smbclient quirks.  (As I've said before, I don't recommend
Samba for backups.)

> Any idea why it's failing on these file types? Is there a way around it?

At the basic level, it's obvious:  permissions.
So the way around it is equally obvious:  fix the permissions.
However, I'll add the caveat that smbclient has been known to behave more
restrictively in some circumstances.

> Thank you.
>
> Kind Regards,
>
> gshergill


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/