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

modify access rights for sc.ini to allow all users to read the file #165

Closed
wants to merge 1 commit into from

Conversation

rainers
Copy link
Member

@rainers rainers commented Jan 17, 2016

The permission is lost during modification by _ReplaceInFile.

You'll need to install the AccessControl-plugin for NSIS to build this.

@brad-anderson
Copy link
Member

Didn't see you did this. I have an alternative version: #166

Not sure which is better.

@CyberShadow
Copy link
Member

Both PRs seem to set a specific set of permissions. Ideally we'd want to delete all file-specific permissions, and make the file inherit the directory's permissions - meaning that if DMD has been installed to a user-writable directory, the .ini file should be writable too, but not if it was installed e.g. under Program Files.

@rainers
Copy link
Member Author

rainers commented Jan 18, 2016

It's a bit annoying to have the dependency on a non-standard NSIS plugin, so I'll close this in favor of PR #166.

@rainers rainers closed this Jan 18, 2016
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

Successfully merging this pull request may close these issues.

3 participants