When updating Telebit, Permission Denied #15

Open
opened 2018-09-29 17:53:40 +00:00 by josh · 2 comments
Collaborator

I was updating to a new version of Telebit using curl -fsSL https://get.telebit.io | bash and encountered this error:

Installing Telebit Remote to '/home/josh/Applications/telebit'
.........cp: cannot create regular file '/home/josh/.config/systemd/user/telebit.service': Permission denied

This was tested on two different devices to the same result. I have to manually set permissions for it.

I was updating to a new version of Telebit using `curl -fsSL https://get.telebit.io | bash` and encountered this error: ``` Installing Telebit Remote to '/home/josh/Applications/telebit' .........cp: cannot create regular file '/home/josh/.config/systemd/user/telebit.service': Permission denied ``` This was tested on two different devices to the same result. I have to manually set permissions for it.
coolaj86 was assigned by josh 2018-09-29 17:53:40 +00:00
josh changed title from When installing over another install, an error occurs. to When updating Telebit, an error occurs. 2018-09-29 17:53:57 +00:00
josh changed title from When updating Telebit, an error occurs. to When updating Telebit, Permission Denied 2018-09-29 17:56:36 +00:00
Owner

That begs the question: "who owns /home/josh/.config/systemd/user ?"

ls -lah /home/josh/.config/systemd
ls -lah /home/josh/.config/systemd/user
ls -lah /home/josh/.config/systemd/user/telebit.service

My guess is that at some point you tried to sudo something that shouldn't have had a sudo and it changed the directory permissions...

That begs the question: "who owns /home/josh/.config/systemd/user ?" ``` ls -lah /home/josh/.config/systemd ls -lah /home/josh/.config/systemd/user ls -lah /home/josh/.config/systemd/user/telebit.service ``` My guess is that at some point you tried to sudo something that *shouldn't* have had a sudo and it changed the directory permissions...
Author
Collaborator

If it is not experienced elsewhere, that is probably the case. But I don't know what I would have done on both....

If it is not experienced elsewhere, that is probably the case. But I don't know what I would have done on both....
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coolaj86/telebit.js#15
No description provided.