Rank 3: Container
i m not run on root user, but this is user used to install docker
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
i m not run on root user, but this is user used to install docker
Rank 3: Container
the first user crated when installing server
What are the permissions on backup.sh? And who’s the owner?
Rank 3: Container
oh right it's root, but i remember i use created user to copy file
I think permissions are kept across a regular cp.
Rank 3: Container
what do you mean?
Rank 3: Container
do I need to changeownershp to current user
Well, I see it already has execute permissions for all, so no. But if you wanted to change the permissions, yes, you would.
Rank 3: Container
maybe no need if there is permission already
Rank 3: Container
then why
Looks like it’s trying to access a file your current user doesn’t have permissions for
Rank 3: Container
Does the current user have write permissions to the current directory?
Rank 3: Container
it is the first user created, should have no?
Rank 3: Container
how to check
Yes, if it created this directory…
ls -la .
Rank 3: Container
should have
Nope, looks like only root has write permissions
Rank 3: Container
how to add write perssion to the user
This is definitely the user Appwrite is running as?
Rank 3: Container
yes this is
So you should probably chown the directory to the current user
Rank 3: Container
will try it
Rank 3: Container
[Sovled] No permission for backup sh