Back

[Sovled] No permission for backup sh

  • 0
  • Tools
  • Accounts
  • Self Hosted
Suiii
25 Dec, 2023, 11:02

i m not run on root user, but this is user used to install docker

TL;DR
Title: [Solved] No permission for backup.sh - The user should try using the "chown" command to change the directory ownership to the current user. - To add write permission to the user, the user can use the "chmod" command. - It seems that only the root user has write permissions, so changing ownership may be necessary. - The user can check permissions using the "ls -la" command. - If the current user does not have write permissions to the current directory, they may encounter permission issues. - The user might not have permission to access a file the current user is trying to use. -
Suiii
25 Dec, 2023, 11:02

the first user crated when installing server

ideclon
25 Dec, 2023, 17:40

What are the permissions on backup.sh? And who’s the owner?

Suiii
26 Dec, 2023, 02:01

oh right it's root, but i remember i use created user to copy file

ideclon
26 Dec, 2023, 02:48

I think permissions are kept across a regular cp.

Suiii
26 Dec, 2023, 02:51

what do you mean?

Suiii
26 Dec, 2023, 02:52

do I need to changeownershp to current user

ideclon
26 Dec, 2023, 02:54

Well, I see it already has execute permissions for all, so no. But if you wanted to change the permissions, yes, you would.

Suiii
26 Dec, 2023, 02:54

maybe no need if there is permission already

Suiii
26 Dec, 2023, 02:58

then why

ideclon
26 Dec, 2023, 03:00

Looks like it’s trying to access a file your current user doesn’t have permissions for

Suiii
26 Dec, 2023, 03:01
ideclon
26 Dec, 2023, 03:01

Does the current user have write permissions to the current directory?

Suiii
26 Dec, 2023, 03:02

it is the first user created, should have no?

Suiii
26 Dec, 2023, 03:02

how to check

ideclon
26 Dec, 2023, 03:02

Yes, if it created this directory…

ideclon
26 Dec, 2023, 03:03

ls -la .

Suiii
26 Dec, 2023, 03:03

should have

ideclon
26 Dec, 2023, 03:06

Nope, looks like only root has write permissions

Suiii
26 Dec, 2023, 03:07

how to add write perssion to the user

ideclon
26 Dec, 2023, 03:07

This is definitely the user Appwrite is running as?

Suiii
26 Dec, 2023, 03:08

yes this is

ideclon
26 Dec, 2023, 03:08

So you should probably chown the directory to the current user

Suiii
26 Dec, 2023, 03:11

will try it

Suiii
27 Dec, 2023, 10:33

[Sovled] No permission for backup sh

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more