GNDMS 0.6.0
RESTful verison of GNDMS
Classes | Public Member Functions | Protected Attributes | Static Package Attributes | Private Member Functions | Static Private Attributes

de.zib.gndms.infra.grams.LinuxDirectoryAux Class Reference

Implementation of the directory helpers for a linux system. More...

Inherits de::zib::gndms::kit::util::DirectoryAux.

List of all members.

Classes

interface  CLibrary

Public Member Functions

int chmod (int mask, File file)
int mkdir (int mask, File file)
int rmdir (File file)
int rename (File from, File to)
List< String > listContent (String path)
FileStats stat (File file)
boolean setDirectoryReadWrite (String uid, String pth)
boolean setDirectoryReadOnly (String uid, String pth)
boolean setSubspacePermissions (String uid, String pth)
boolean setPermissions (String uid, AccessMask perm, String pth)
boolean changeOwner (String dn, String path)
boolean deleteDirectory (String uid, String pth)
boolean mkdir (String uid, String path, AccessMask perm)
boolean move (String src_path, String target_path)
boolean copyDir (String uid, String src_pth, String tgt_pth)

Protected Attributes

final Logger logger = LoggerFactory.getLogger( this.getClass() )

Static Package Attributes

static final String WX = "300"
static final String RO = "500"
static final String RW = "700"
static final String EXECUTABLE = "executable"
static final String ARGS = "arguments"
static final int DELAY = 10000

Private Member Functions

boolean setMode (String uid, String mode, String path)

Static Private Attributes

static final int NUM_RETRYS = 5
static CLibrary libc = (CLibrary) Native.loadLibrary("c", CLibrary.class)

Detailed Description

Implementation of the directory helpers for a linux system.

This implementation uses the system call "chmod"


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables