8

I am not sure how many files that this happens to, but it has happened to two that I have tried in the last few days, one .sh file and another program/executable. I am logged in as root - Linux Mint 21.2 When I try to allow executing as a program it unticks itself (as in this video) I also get 'permission denied' in terminal, as root and i have tried

chmod +x filename

and

sudo chmod -v +x filename.sh

sudo chown --verbose 1000 filename.sh

But still get denied.. What am I doing wrong here or how can I fix this?

you are viewing a single comment's thread
view the rest of the comments
[-] ZWQbpkzl@hexbear.net 2 points 1 month ago

Can't explain why your file browser doesn't work and I don't suggest logging into your desktop as root. You should take steps to make that impossible, in fact.

Now you said this doesn't work

sudo chmod -v +x filename.sh

And that's baffling. What is the exact error message and output of that command? Also is the file in question in a weird place or on a weird filesystem?

this post was submitted on 21 Dec 2025
8 points (90.0% liked)

Linux Questions

3196 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS