Tabnine Logo
Os.chmod
Code IndexAdd Tabnine to your IDE (free)

How to use
chmod
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.chmod (Showing top 14 results out of 315)

origin: robovm/robovm

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: robovm/robovm

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.bugvm/bugvm-rt

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: ibinti/bugvm

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: com.mobidevelop.robovm/robovm-rt

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: MobiVM/robovm

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: FlexoVM/flexovm

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: com.gluonhq/robovm-rt

public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); }
public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); }
origin: MobiVM/robovm

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.gluonhq/robovm-rt

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.mobidevelop.robovm/robovm-rt

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: FlexoVM/flexovm

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: ibinti/bugvm

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
origin: com.bugvm/bugvm-rt

private boolean doChmod(int mask, boolean set) {
  try {
    StructStat sb = Libcore.os.stat(path);
    int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
    Libcore.os.chmod(path, newMode);
    return true;
  } catch (ErrnoException errnoException) {
    return false;
  }
}
libcore.ioOschmod

Popular methods of Os

  • accept
  • access
  • bind
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • fchmod
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JTable (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now