First time here? Check out the FAQ!

permission denied

I've just started using Wingware personal edition on Kali Linux. My Python files are all saved without execution permission, e.g.-rw-r--r-- 1 root root 14 Dec 10 15:54

Is there some way to change this ?

Thank you.

Ben Hoffman's avatar
Ben Hoffman
asked 2017-12-11 17:51:00 -0500
Wingware Support's avatar
Wingware Support
updated 2019-03-13 10:02:03 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


Looking at your file, you created them as root  (or you are running wing as root)

You will need to sudo and change ownership back to yourself.

If you chmod +x on the files they should stay that way, but you really don't want that, most python files are imported, not executed by the shell.

Running as root is a pretty wrong thing to do, you should be able to find some info about this online.

Mark Jones's avatar
Mark Jones
answered 2017-12-11 18:07:00 -0500
Wingware Admin's avatar
Wingware Admin
updated 2019-03-07 08:10:20 -0500
edit flag offensive 0 remove flag delete link


I was running wing as root. So, I added a new user, but with the same result. So, it's still has no execution permission.thanks.

Ben Hoffman's avatar Ben Hoffman (2017-12-11 19:07:00 -0500) edit

Wing does not set files you create with it to executable.  That can be done with 'chmod +x' for the files where it's needed, but as Mark noted most Python files should not be executable because they are imported instead.

Wingware Support's avatar Wingware Support (2017-12-11 20:48:00 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer