1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00
rclone/lib
Charles Hamilton b778ec0142
windows: make rclone work with SeBackupPrivilege and/or SeRestorePrivilege
On Windows, this change includes the `FILE_FLAG_BACKUP_SEMANTICS` in
all calls to `CreateFile`.

Adding this flag allows is useful when rclone is running within a
security context that has `SeBackupPrivilege` and/or `SeRestorePrivilege`
token privileges enabled.

Without this flag, rclone cannot properly leverage special security
groups such as Backup Operators who possess the these privileges.

See: https://forum.rclone.org/t/rclone-sebackupprivilege-file-flag-backup-semantics/45339
See: https://github.com/rclone/rclone/pull/7877.
2024-06-07 13:26:30 +01:00
..
atexit build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
batcher dropbox: factor batcher into lib/batcher 2023-10-03 18:01:34 +01:00
bucket bucket: add Join function for a simplified path.Join 2023-03-03 15:51:00 +00:00
buildinfo build: fix linting issues reported by golangci-lint on windows 2024-04-22 19:29:12 +02:00
cache lib/cache: add PutErr to put a value with an error into the cache 2024-02-29 16:21:41 +00:00
daemonize mount: notice daemon dying much quicker 2023-12-01 09:36:05 +00:00
debug build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
dircache lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
diskusage Add lib/diskusage to measure used/free on disks 2023-09-07 15:57:45 +01:00
encoder build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errcount errcount: factor errcount abstraction from operations 2024-02-22 11:13:54 +00:00
errors lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
exitcode --max-transfer - add new exit code (10) 2023-07-18 09:51:31 +01:00
file windows: make rclone work with SeBackupPrivilege and/or SeRestorePrivilege 2024-06-07 13:26:30 +01:00
http serve http: added content-length header when html directory is served 2024-05-13 17:24:54 +01:00
israce build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
jwtutil Use jwt-go (golang-jwt) instead of deprecated jws (x/oauth2/jws) 2023-03-26 19:20:50 +02:00
kv build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
mmap build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
multipart backends: change OpenChunkWriter interface to allow backend concurrency override 2023-09-03 11:47:05 +01:00
oauthutil oauthutil: clear client secret if client ID is set 2024-05-11 16:03:32 +01:00
pacer amazonclouddrive: remove Amazon Drive backend code and docs #7539 2024-01-04 17:05:54 +00:00
plugin build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
pool lib/pool: add DelayAccounting() to fix accounting when reading hashes 2023-08-24 16:42:09 +01:00
proxy build: fix lint errors when re-enabling revive exported & package-comments 2023-08-29 13:03:13 +01:00
random random: update Password docs 2024-04-25 11:14:14 +01:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers ftp: fix multi-thread copy 2024-01-03 12:21:08 +00:00
rest lib/rest: Add Client.Do function to call http.Client.Do 2024-03-23 12:08:23 +00:00
structs test: do not test deprecated and unused Dial and DialTLS functions on http Transport type 2023-03-26 14:28:15 +02:00
systemd systemd: Fix detection and switch to the coreos package everywhere 2023-12-02 14:17:15 +00:00
terminal build: fix linting issues reported by golangci-lint on windows 2024-04-22 19:29:12 +02:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00