Spaces:
Sleeping
Sleeping
Commit
·
1f55c17
1
Parent(s):
206a5c8
Update entrypoint.sh
Browse files- entrypoint.sh +3 -0
entrypoint.sh
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
#!/bin/bash
|
2 |
set -e
|
3 |
|
|
|
|
|
|
|
4 |
# Check if the user already exists
|
5 |
if id "$USER_ID" >/dev/null 2>&1; then
|
6 |
echo "User with ID $USER_ID already exists."
|
|
|
1 |
#!/bin/bash
|
2 |
set -e
|
3 |
|
4 |
+
# Set permissive permissions on the directory
|
5 |
+
chmod -R 777 /path/to/directory
|
6 |
+
|
7 |
# Check if the user already exists
|
8 |
if id "$USER_ID" >/dev/null 2>&1; then
|
9 |
echo "User with ID $USER_ID already exists."
|