mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-20 15:26:36 +00:00
Do not fail on folder permission error (#169)
This commit is contained in:
1 parent
c6ccff8c1c
commit
5c9962f17b
1 file changed
+2
-2
+2
-2
@@ -82,9 +82,9 @@ make_writable() {
|
||||
else
|
||||
echo "Folder $folder is not writable, changing ownership"
|
||||
change_ownership $folder
|
||||
chmod g+r,g+w $folder
|
||||
chmod g+r,g+w $folder || echo "Failed to change group permissions for ${folder}, continuing..."
|
||||
fi
|
||||
test_write $folder
|
||||
test_write $folder || echo "Failed to test write to ${folder}, continuing..."
|
||||
}
|
||||
|
||||
# Ensure proper ownership of application directories
|
||||
|
||||
Reference in new issue
Block a user