1
mirror of https://github.com/rclone/rclone synced 2025-01-02 02:26:24 +01:00

cmount: set the correct values for uid, gid under Windows

This commit is contained in:
Nick Craig-Wood 2017-05-08 10:53:59 +01:00
parent bcd87009e2
commit 7b47a1e842

View File

@ -39,8 +39,8 @@ var (
writebackCache = false writebackCache = false
maxReadAhead fs.SizeSuffix = 128 * 1024 maxReadAhead fs.SizeSuffix = 128 * 1024
umask = 0 umask = 0
uid = uint32(0) // set in mount_unix.go uid = ^uint32(0) // these values instruct WinFSP-FUSE to use the current user
gid = uint32(0) gid = ^uint32(0) // overriden for non windows in mount_unix.go
// foreground = false // foreground = false
// default permissions for directories - modified by umask in Mount // default permissions for directories - modified by umask in Mount
dirPerms = os.FileMode(0777) dirPerms = os.FileMode(0777)