diff --git a/receive_test.go b/receive_test.go
index <HASH>..<HASH> 100644
--- a/receive_test.go
+++ b/receive_test.go
@@ -62,6 +62,8 @@ func TestInvalidExcludePatterns(t *testing.T) {
 }
 
 func TestCopyWithSubDir(t *testing.T) {
+	requiresRoot(t)
+
 	d, err := tmpDir(changeStream([]string{
 		"ADD foo dir",
 		"ADD foo/bar file data1",
diff --git a/stat_test.go b/stat_test.go
index <HASH>..<HASH> 100644
--- a/stat_test.go
+++ b/stat_test.go
@@ -10,6 +10,8 @@ import (
 )
 
 func TestStat(t *testing.T) {
+	requiresRoot(t)
+
 	d, err := tmpDir(changeStream([]string{
 		"ADD foo file data1",
 		"ADD zzz dir",
- [*] skip tests that would fail in Debian-build