You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wondering if there are any thoughts about adding an abstraction for os.Chown (which for windows does work pretty badly as you need string SSIDs and the semantics differ from Linux in the regard that you don't change user (uid) and group (gid) at the same time like os.Chown does.
Seemingly ACLs are common on those platforms or changing file owner and file owner group independently of each other might be an approach.
Also getting the current owner and owner group or a list of all ACLs of a file might be another interesting feature which would be necessary for like copying files and applying the same ownership permissions as the source file had.
The text was updated successfully, but these errors were encountered:
I'm trying to move my backupfs (backup on write fs abstraction layer with rollback mechanisms) from the afero interface to one that supports windows better and is more actively maintained.
Just wondering if there are any thoughts about adding an abstraction for
os.Chown
(which for windows does work pretty badly as you need string SSIDs and the semantics differ from Linux in the regard that you don't change user (uid) and group (gid) at the same time like os.Chown does.Seemingly ACLs are common on those platforms or changing file owner and file owner group independently of each other might be an approach.
Also getting the current owner and owner group or a list of all ACLs of a file might be another interesting feature which would be necessary for like copying files and applying the same ownership permissions as the source file had.
The text was updated successfully, but these errors were encountered: