Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash: ./pget: Permission denied #5

Open
ceen23 opened this issue Nov 19, 2020 · 9 comments
Open

bash: ./pget: Permission denied #5

ceen23 opened this issue Nov 19, 2020 · 9 comments

Comments

@ceen23
Copy link

ceen23 commented Nov 19, 2020

I get the following error after using chmod +x setup.sh and running it.
Then I try ./pget and this error accures

bash: ./pget: Permission denied

@0x00009b
Copy link
Owner

0x00009b commented Nov 19, 2020

that's actually my bad i'll push an update later today
a work around would just be to directly chmod +x pget
let me know if this works :)

@ceen23
Copy link
Author

ceen23 commented Nov 19, 2020

Thx fr the fast reply
Ok i made setup.sh executable and ran it.
The pget file got moved to my home directory
Using Debian10 no root access.

Now I run it and get:
(doesnt matter if I make it executable or not with chmod)


██████  ██████  ███████ ████████ 
██   ██ ██       ██         ██    
██████  ██  ███ █████  ██ 
██      ██  ██ ██     ██ 
██   ██████  ███████  ██ 
**********************************                        

starting install...
curent user is mdeberts
#####################
----------> Updating apt caches
Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
mkdir: cannot create directory ‘/home/mdeberts’: Permission denied

@0x00009b
Copy link
Owner

may i ask what system you are on ?

@0x00009b
Copy link
Owner

looks like someone has it locked down hard

@sanazsab
Copy link

Hi,

Unfortunately, I got the below error:
ad.
mkdir: cannot create directory ‘/home/sanazsab’: Permission denied

How could I fix it?

@0x00009b
Copy link
Owner

0x00009b commented Oct 20, 2021 via email

@sanazsab
Copy link

What's your current working directory

On Wed, Oct 20, 2021, 4:19 AM Sanaz Sabzevari @.***> wrote: Hi, Unfortunately, I got the below error: ad. mkdir: cannot create directory ‘/home/sanazsab’: Permission denied How could I fix it? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSDH7YBD3RBWSSTQFTHSYTUHZ3Q3ANCNFSM4T3JEVMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, my working directory is in Midgard/home/sanazsab in the ssh remote system and I do not have access to its root. I do not want to have the package in my host computer.

@0x00009b
Copy link
Owner

0x00009b commented Oct 20, 2021 via email

@sanazsab
Copy link

Have you tried editing the script and hard coding the paths by default the script uses common Linux env vars On Wed, Oct 20, 2021, 12:22 PM Sanaz Sabzevari @.> wrote:

What's your current working directory … <#m_5977972861421875555_> On Wed, Oct 20, 2021, 4:19 AM Sanaz Sabzevari @.
> wrote: Hi, Unfortunately, I got the below error: ad. mkdir: cannot create directory ‘/home/sanazsab’: Permission denied How could I fix it? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) <#5 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSDH7YBD3RBWSSTQFTHSYTUHZ3Q3ANCNFSM4T3JEVMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Hi, my working directory is in Midgard/home/sanazsab in the ssh remote system and I do not have access to its root. I do not want to have the package in my host computer. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSDH756I67IZD3ENSSLN7LUH3UBNANCNFSM4T3JEVMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

What do you mean editing the script? where exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants