summaryrefslogtreecommitdiffstats
path: root/src/vfs/fish/helpers/chown
diff options
context:
space:
mode:
Diffstat (limited to 'src/vfs/fish/helpers/chown')
-rw-r--r--src/vfs/fish/helpers/chown6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vfs/fish/helpers/chown b/src/vfs/fish/helpers/chown
new file mode 100644
index 0000000..469fdc1
--- /dev/null
+++ b/src/vfs/fish/helpers/chown
@@ -0,0 +1,6 @@
+#CHOWN $FISH_FILEOWNER:$FISH_FILEGROUP $FISH_FILENAME
+if chown ${FISH_FILEOWNER}:${FISH_FILEGROUP} "/${FISH_FILENAME}" ; then
+ echo "### 000"
+else
+ echo "### 500"
+fi