summaryrefslogtreecommitdiffstats
path: root/src/vfs/shell/helpers/chmod
diff options
context:
space:
mode:
Diffstat (limited to 'src/vfs/shell/helpers/chmod')
-rw-r--r--src/vfs/shell/helpers/chmod5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vfs/shell/helpers/chmod b/src/vfs/shell/helpers/chmod
new file mode 100644
index 0000000..75ea024
--- /dev/null
+++ b/src/vfs/shell/helpers/chmod
@@ -0,0 +1,5 @@
+if chmod ${SHELL_FILEMODE} "/${SHELL_FILENAME}" 2>/dev/null; then
+ echo "### 000"
+else
+ echo "### 500"
+fi