agave-files/files-api/src/main/java/org/iplantc/service/io/resources/FileManagementResource.java
/**
     * On public storage systems, the first token of any relative path will
     * indicate an implied ownership permission for the resource. 
     * @return
     */
On public storage systems, the first token of any relative path will
indicate an implied ownership permission for the resource.
@return
On public storage systems the first token of any relative path will indicate an implied ownership permission for the resource . @return
private String resolveResourceOwnerFromPathIfPublicSystem() {
    	try {
    		String owner = null;
    		if (system.isPubliclyAvailable()) {
    			String originalPath = getRequest().getOriginalRef().toUri().getPath();
    			owner = PathResolver.getOwner(originalPath);
    		}
    		return owner;
		} catch (IOException e) {
			String msg = "Invalid file path " + path;
			log.error(msg, e);
			throw new ResourceException(Status.CLIENT_ERROR_BAD_REQUEST, msg, e);
		}
	}
private String resolveResourceOwnerFromPathIfPublicSystem ( ) { try { String owner = null ; if ( system . isPubliclyAvailable ( ) ) { String originalPath = getRequest ( ) . getOriginalRef ( ) . toUri ( ) . getPath ( ) ; owner = PathResolver . getOwner ( originalPath ) ; } return owner ; } catch ( IOException e ) { String msg = "Invalid file path " + path ; log . error ( msg , e ) ; throw new ResourceException ( Status . CLIENT_ERROR_BAD_REQUEST , msg , e ) ; } }
On public storage systems, the first token of any relative path will
 indicate an implied ownership permission for the resource.
On public storage systems the first token of any relative path will indicate an implied ownership permission for the resource .