Commit Graph

  • afceea9825 update module for fork master forest 2021-09-29 10:02:51 -0500
  • 7f23662105 Merge remote-tracking branch 'jazzy-crane/master' forest 2021-09-29 09:57:26 -0500
  • 99c155a464 Merge remote-tracking branch 'zb140/get-access-mode' forest 2021-09-29 09:57:22 -0500
  • f278c9b120
    Merge pull request #1 from jazzy-crane/issue-16 jazzy-crane 2021-09-21 16:38:30 +0100
  • 884d594b08 Fix issue #16 - Error code propagation from api incorrect Alex Crane 2021-09-15 14:24:29 +0100
  • da78bae5fc
    Merge pull request #15 from twpayne/chmod-on-posix Nathan Osman 2019-06-03 21:17:25 -0700
  • eada576e86 Added Chmod as alias for os.Chmod on non-Windows Tom Payne 2019-06-03 18:56:50 +0200
  • 68e29f77cb
    Merge pull request #13 from twpayne/build-elsewhere Nathan Osman 2019-06-01 19:10:54 -0700
  • 0d0c96583e Added Go modules support Tom Payne 2019-05-29 21:14:21 +0200
  • a432b8a860 Enabled build on non-Windows systems Tom Payne 2019-05-29 21:14:05 +0200
  • a46de69dd0 Support a couple of different methods for checking which permissions are set for a given file * GetEffectiveAccessMode returns an os.FileMode representing the permissions the file's owner, "group", and "Everyone" have, determined by calling GetEffectiveRightsFromAclW * GetExplicitAccessMode returns a FileMode for the permissions that have been explicitly granted to the owner, "group", and "Everyone" (for example by calling acl.Chmod first). These permissions are determined by reading the ACL entries with GetExplicitEntriesFromAclW Zach Bean 2019-05-27 17:26:30 -0700
  • dfeb47f3e2
    Merge pull request #12 from zb140/allow-delete Nathan Osman 2019-05-22 22:14:33 -0700
  • 878cc285d6 Fix the build * oops, I missed a name change when refactoring Zach Bean 2019-05-22 21:48:47 -0700
  • 0a8ab9f24f In Chmod, add the DELETE permission (0x10000) if the write bit is set. Zach Bean 2019-05-22 21:38:12 -0700
  • e28f47eff0
    Merge pull request #9 from demonchild2112/master Nathan Osman 2019-02-26 20:30:46 -0800
  • ca730a35e3 Use GrantSid() instead of GrantName() in Chmod(). Denver Ogaro 2019-02-25 15:30:05 +0100
  • 6937c4c474 Use well-known SIDs for chmod (fixes #6). Nathan Osman 2019-01-12 12:57:48 -0800
  • 7f56832555 Rewrote Chmod(). Nathan Osman 2015-11-02 19:10:24 -0800
  • 8059384651 Added inherit parameter to Apply(). Nathan Osman 2015-11-02 19:07:51 -0800
  • 6cef6716b6 Updated examples in README. Nathan Osman 2015-11-02 16:53:36 -0800
  • 42afa19d97 Simplified Apply() test. Nathan Osman 2015-11-02 16:45:45 -0800
  • e25de9e210 Added util functions to simplify creation of ExplicitAccess instances. Nathan Osman 2015-11-02 16:42:01 -0800
  • 74c48b5025 Renamed Grant() function to Apply(). Nathan Osman 2015-11-02 16:19:17 -0800
  • de08fbaaf3 Updated Grant() function and added accompanying test. Nathan Osman 2015-11-02 16:04:58 -0800
  • 043db19784 Updated documentation for Grant(). Nathan Osman 2015-11-02 14:48:26 -0800
  • b04e85d16b Added Grant() function. Nathan Osman 2015-11-02 14:41:25 -0800
  • 23f1c5b54c Fixed secinfo tests. Nathan Osman 2015-11-02 13:58:03 -0800
  • 7ca7d8f173 Added more information to secinfo test. Nathan Osman 2015-11-02 11:06:41 -0800
  • aa46acc2e8 Disabled build in appveyor.yml. Nathan Osman 2015-11-02 10:42:35 -0800
  • cfb7b71293 Added appveyor.yml file. Nathan Osman 2015-11-02 10:40:51 -0800
  • 7d4c22c49f Added build status badge to README. Nathan Osman 2015-11-02 10:04:22 -0800
  • 32b4b9baa8 Fixed typo in Chmod() test. Nathan Osman 2015-10-31 20:31:29 -0700
  • 08d7cafda8 Added documentation comments to some enumerations. Nathan Osman 2015-10-31 20:31:12 -0700
  • 07c51bbd7a Updated Chmod() test. Nathan Osman 2015-10-31 20:28:47 -0700
  • f663bde7b1 Simplified Chmod() implementation. Nathan Osman 2015-10-31 20:27:29 -0700
  • 454ba6017b Fixed up Chmod() function. Nathan Osman 2015-10-31 20:12:42 -0700
  • 4cf5f450dc Added SECURITY_MAX_SID_SIZE constant. Nathan Osman 2015-10-31 20:10:44 -0700
  • 0434715a68 Removed custom SID type and switched to the type in the windows package. Nathan Osman 2015-10-31 20:02:44 -0700
  • 0e6e3f42c7 Fixed bug in secinfo tests. Nathan Osman 2015-10-31 20:02:15 -0700
  • 2f3027edbf Added test for SetEntriesInAcl(). Nathan Osman 2015-10-31 19:37:12 -0700
  • 4d0dcc3828 Updated API example in README. Nathan Osman 2015-10-31 19:12:31 -0700
  • aab646c520 Added docstring for api package. Nathan Osman 2015-10-31 18:39:32 -0700
  • 173c147804 Moved remaining API functions to api package. Nathan Osman 2015-10-31 18:26:40 -0700
  • 4ca538b933 Updated parameter types and added MSDN links to secinfo functions. Nathan Osman 2015-10-31 14:08:29 -0700
  • c825419346 Added SetEntriesInAcl() function to api package. Nathan Osman 2015-10-31 14:01:27 -0700
  • 1d8f058e92 Added SetNamedSecurityInfo() to api package. Nathan Osman 2015-10-31 11:21:44 -0700
  • 927290f2bc Enhanced test for GetNamedSecurityInfo(). Nathan Osman 2015-10-31 00:41:44 -0700
  • d281f5ab3f Added GetNamedSecurityInfo() function to api package. Nathan Osman 2015-10-31 00:32:48 -0700
  • 5c5b8772a3 Reorganized things a bit. Nathan Osman 2015-10-30 23:04:31 -0700
  • ec9754747f Added basic test for SID. Nathan Osman 2015-10-30 22:33:37 -0700
  • 4857f37d36 Corrected pointer error. Nathan Osman 2015-10-30 21:18:24 -0700
  • 9106891f83 Began moving functions to api package and added SID type. Nathan Osman 2015-10-30 20:51:49 -0700
  • fce792ad53 Clarified that Chmod() only operates on files. Nathan Osman 2015-10-30 16:27:58 -0700
  • 2a6f51572e Added basic tests for Chmod(). Nathan Osman 2015-10-30 16:27:18 -0700
  • 4f1e89d5e7 Added badges to the README. Nathan Osman 2015-10-30 16:20:29 -0700
  • 6c9c22dbfb Added MIT license. Nathan Osman 2015-10-30 16:19:38 -0700
  • d3fef9a531 Updated README to include Chmod example. Nathan Osman 2015-10-30 14:53:29 -0700
  • 1f23e6e4ef Finished initial implementation of Chmod(). Nathan Osman 2015-10-30 14:50:19 -0700
  • f747679263 Added Chmod() function. Nathan Osman 2015-10-30 11:56:46 -0700
  • c54ada5b6a Added SECURITY_MAX_SID_SIZE constant. Nathan Osman 2015-10-30 11:56:36 -0700
  • 7d2e4225f5 Added CreateWellKnownSid() function. Nathan Osman 2015-10-30 10:58:55 -0700
  • 0b6cf2bddf Added example of direct usage of the API. Nathan Osman 2015-10-29 19:53:10 -0700
  • ed50c9222e Added SetEntriesInAcl() function. Nathan Osman 2015-10-29 19:42:51 -0700
  • a7cb1a9cb6 Added SetNamedSecurityInfo() function. Nathan Osman 2015-10-29 17:03:14 -0700
  • bab8780755 Added GetNamedSecurityInfo() function. Nathan Osman 2015-10-29 16:48:49 -0700
  • 34ec98e08e Initial commit. Nathan Osman 2015-10-29 16:06:35 -0700