summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/afero/readonlyfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/afero/readonlyfs.go')
-rw-r--r--vendor/github.com/spf13/afero/readonlyfs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/afero/readonlyfs.go b/vendor/github.com/spf13/afero/readonlyfs.go
index f94b181b..bd8f9264 100644
--- a/vendor/github.com/spf13/afero/readonlyfs.go
+++ b/vendor/github.com/spf13/afero/readonlyfs.go
@@ -28,6 +28,10 @@ func (r *ReadOnlyFs) Chmod(n string, m os.FileMode) error {
return syscall.EPERM
}
+func (r *ReadOnlyFs) Chown(n string, uid, gid int) error {
+ return syscall.EPERM
+}
+
func (r *ReadOnlyFs) Name() string {
return "ReadOnlyFilter"
}