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

Set custom file permissions #50

Open
dann1 opened this issue Apr 24, 2018 · 2 comments
Open

Set custom file permissions #50

dann1 opened this issue Apr 24, 2018 · 2 comments

Comments

@dann1
Copy link

dann1 commented Apr 24, 2018

Hello, great work with this extension.
Back in sublime text Advanced New File lets you create files with custom file permissions using: "file_permissions": "777" in the settings. I have to run python and pass the script as argument, instead of the preferred way, running the script directly because of not having set the execution bit.

Could you implement this feature?

@dkundel
Copy link
Owner

dkundel commented May 3, 2018

Hey @dann1,

I don't have any resources to implement this right now. So if anyone wants to take this over until I get to it, you are more than welcome to :)

Cheers,
Dominik

@Telokis
Copy link
Collaborator

Telokis commented May 13, 2018

This should be very easy to do. There is a simple option available in fs.appendFile (https://nodejs.org/api/fs.html#fs_fs_appendfile_path_data_options_callback)

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

No branches or pull requests

3 participants