oh-my-fish / plugin-bak

Helps you instantly backup and restore files
MIT License
5 stars 3 forks source link

Sudo + cpbak not working #6

Closed BarbzYHOOL closed 10 months ago

BarbzYHOOL commented 6 years ago

I wanted to cpbak a system file but it said "permission erro"

So I used sudo cpbak and here is the output

"Impossible to create the symlink for file.bak"

sudo cp worked fine

Any idea somebody?

BarbzYHOOL commented 6 years ago

Same for mvbak :'(

But with "sudo -s" it works

scorphus commented 10 months ago

The plugin functions in, and only in, the namespace of the user. IWO that's expected.