Hi, abel elenas wrote on 2014-06-24 10:16:04 +0200 [Re: [BackupPC-users] Error: directory is empty ... on cgi/website]: > [...] > So, the trouble are related to a migration of /var/lib/backuppc from one > hard drive to another... > [...] > selinux is enabled on the pc.
I don't use SElinux, but from what I've read on this list, I'd look at the man page for 'restorecon'. > [...] > i don't know selinux very well [...] Neither do I, but my impression is that with something as invasive as SElinux, you *should* try to get to know as much about it as possible, if you choose to use it. At least this much: if you've got a problem with access permissions, there's not only UNIX file permissions to consider, there's also the layer of SElinux mandatory access control. There must be a reason at least some major distributions ship with SElinux turned off by default. And: it's not by chance I asked whether you are running SElinux. It's just the first thing that springs to mind with such problems, because many people before you have made the same mistake. > But what actually drive my crazy is, that i have not the single line > tellings me that something goes wrong in my logs... Well, that's the *good thing* about mandatory access control. If you're not allowed to see it, there's nothing there. As far as BackupPC_Admin is concerned, there's just an empty directory - actually, I'm surprised it even sees the directory; I would have expected it to see an empty $TopDir. And that's exactly the message you get. Empty directory. BackupPC_Admin doesn't know *why* the directory is empty. It's not as if it gets an error code "there's something there, but you're not allowed to see it" when attempting the access. Regards, Holger ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/