Spaces:
Sleeping
Sleeping
Fixed nagging chown error while startup
Browse files- entrypoint.sh +1 -1
entrypoint.sh
CHANGED
@@ -4,7 +4,7 @@ echo "Starting entrypoint script..."
|
|
4 |
|
5 |
# Attempt to modify permissions of /data to ensure it's writable by the user
|
6 |
# Note: This might not work if /data's permissions are restricted outside the container
|
7 |
-
chown -R user:user /data
|
8 |
|
9 |
# Authenticate with Hugging Face
|
10 |
export HF_HOME=/home/user/data/hf_cache
|
|
|
4 |
|
5 |
# Attempt to modify permissions of /data to ensure it's writable by the user
|
6 |
# Note: This might not work if /data's permissions are restricted outside the container
|
7 |
+
#chown -R user:user /data
|
8 |
|
9 |
# Authenticate with Hugging Face
|
10 |
export HF_HOME=/home/user/data/hf_cache
|