    [clojure.string :as string])
   (:import [java.io File IOException FileNotFoundException]
            [java.nio.file Files Path LinkOption Paths]
-           [java.nio.file.attribute AclFileAttributeView PosixFilePermissions PosixFilePermission BasicFileAttributes PosixFileAttributes])
+
+           [java.nio.file.attribute UserPrincipal GroupPrincipal AclEntryType AclEntryPermission AclFileAttributeView PosixFilePermissions PosixFilePermission BasicFileAttributes PosixFileAttributes])
 
   (:require [com.brainbot.vfs :as vfs]))
 
+
+(def ^:private is-windows
+  (= "\\" File/separator))
 
 (def ^:private no-follow-links
   (into-array [LinkOption/NOFOLLOW_LINKS]))

    (acl-from-posix-perm owner-name group-name "GROUP:AUTHENTICATED_USERS" perm)))


(defrecord RealFilesystem [root]
  vfs/Filesystem
  (get-permissions [fs entry]
    (let [fp (string/join "/" [(:root fs) entry])
          attr (read-attributes fp)]
      (acl-from-attribute attr)))

  (stat [fs entry]
    (let [fp (string/join "/" [(:root fs) entry])

      :symbolic-link
    :else
      :other))

(defn- acl-from-posix-perm
  [owner-name group-name others-name perm]
