Changing File permissions

已回答

Basically, how does one set the perms on a file within intelliJ? I'm just wondering if there is/where there is a basic 'right click' on a file in the project view (these are my local files on Ubuntu) and select a command that'll allow me to set the bits (r/w/x)?

Yeah, I can open a term and do it, sure, but was mousing around and thought how can I not find something so basic. Felt like I had to be missing something.

An example of why I was looking for this is that I wanted to make a python script executable from the command line, so I'd need to `chmod +x` it.

Cheers.

0

IntelliJ IDEA doesn't have such a feature. Good idea for a plug-in.

0
Avatar
Permanently deleted user

Had the same problem here with some .sh files processed by our CI, I can recommend this plugin to handle `chmod` https://plugins.jetbrains.com/plugin/11217-git-extended-update-index

2

请先登录再写评论。