Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Windows build #1253

Merged
merged 21 commits into from
Jun 13, 2016
Merged

Windows build #1253

merged 21 commits into from
Jun 13, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Jun 10, 2016

No description provided.

@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Jun 10, 2016
#[cfg(windows)]
pub fn restrict_permissions_owner(_file_path: &Path) -> Result<(), i32> {
//TODO: implement me
Ok(())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does having this unimplemented create a potential security hole on windows?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't thinks so
windows restricts permissions to the user home directory on it's own

@@ -474,6 +475,12 @@ pub fn restrict_permissions_owner(file_path: &Path) -> Result<(), i32> {
}
}

#[cfg(windows)]
pub fn restrict_permissions_owner(_file_path: &Path) -> Result<(), i32> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no docs for windows version btw

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 13, 2016
@gavofyork gavofyork merged commit 6b12334 into master Jun 13, 2016
@gavofyork gavofyork deleted the windows branch June 13, 2016 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants