 
   ///TODO:
   public func SetWrite(filePath: String, canexe: Bool) -> Bool {
-    return false
+    return chmod(filePath, S_IWUSR) == 0
   }
 
   public func IsDirectory(filePath: String) -> Bool {


  ///TODO:
  public func SetExecute(filePath: String, canexe: Bool) -> Bool {
    return false
  }




  ///TODO:
  public func SetRead(filePath: String, canexe: Bool) -> Bool {
    return chmod(filePath, S_IRGRP) == 0
  }

  public func CanWrite(filePath: String) -> Bool {
