You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/08/19 11:23:19 UTC
[jira] [Commented] (SLIDER-334) SecurityUtils uses Java 7 nio.File
code
[ https://issues.apache.org/jira/browse/SLIDER-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102059#comment-14102059 ]
Steve Loughran commented on SLIDER-334:
---------------------------------------
{{RawLocalFileSystem.setPermission()}} has the code to set FS permissions on both Windows and Linux, using a native lib if on the path and shell commands if not (though it relies on the winutils.jar on the CP)
> SecurityUtils uses Java 7 nio.File code
> ---------------------------------------
>
> Key: SLIDER-334
> URL: https://issues.apache.org/jira/browse/SLIDER-334
> Project: Slider
> Issue Type: Bug
> Components: core
> Affects Versions: Slider 0.40
> Environment: JDK6
> Reporter: Steve Loughran
> Assignee: Jonathan Maron
> Priority: Critical
>
> SecurityUtils imports/uses Java 7 code to set permissions...doesn't compile on Java 6
> {code}
> import java.nio.file.Files;
> import java.nio.file.Path;
> import java.nio.file.Paths;
> import java.nio.file.attribute.PosixFilePermission;
> import java.nio.file.attribute.PosixFilePermissions;
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)