Searched refs:permissions (Results 151 - 175 of 435) sorted by path

1234567891011>>

/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
H A DCwdCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
67 dir.permissions = new Permissions('rw-rw-rw-')
H A DDeleCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
79 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
H A DListCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
96 fileSystem.getEntry(DIR).permissions = new Permissions('-wx-wx-wx')
H A DMkdCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
47 assert dirEntry.permissions == PERMISSIONS
56 assert dirEntry.permissions == UserAccount.DEFAULT_PERMISSIONS_FOR_NEW_DIRECTORY
76 fileSystem.getEntry(PARENT).permissions = new Permissions('r-xr-xr-x')
82 fileSystem.getEntry(PARENT).permissions = new Permissions('rw-rw-rw-')
H A DNlstCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
80 fileSystem.getEntry(DIR).permissions = new Permissions('-wx-wx-wx')
H A DRetrCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
75 fileSystem.getEntry(FILE).permissions = Permissions.NONE
81 fileSystem.getEntry(DIR).permissions = Permissions.NONE
H A DRmdCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
95 fileSystem.getEntry(PARENT).permissions = new Permissions('r-xr-xr-x')
H A DRnfrCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
66 fileSystem.getEntry(FILE).permissions = new Permissions('-wx-wx-wx')
H A DRntoCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
79 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFakeFileSystemTest.groovy13 * See the License for the specific language governing permissions and
123 def permissions = new Permissions('-wxrwx---')
125 group: 'group', permissions: permissions)
134 assert entry.permissions == permissions
H A DAbstractFileSystemEntryTest.groovy13 * See the License for the specific language governing permissions and
73 assert entry.permissions == new Permissions(PERM)
H A DDirectoryEntryTest.groovy13 * See the License for the specific language governing permissions and
33 entry.permissions = PERMISSIONS
41 assert clone.permissions == PERMISSIONS
H A DFileEntryTest.groovy13 * See the License for the specific language governing permissions and
108 entry.permissions = PERMISSIONS
117 assert clone.permissions == PERMISSIONS
H A DPermissionsTest.groovy13 * See the License for the specific language governing permissions and
78 def permissions = new Permissions(rwxString)
79 LOG.info("Testing can read/write/execute for $permissions")
80 assert permissions.canUserRead() == canUserRead
81 assert permissions.canUserWrite() == canUserWrite
82 assert permissions.canUserExecute() == canUserExecute
83 assert permissions.canGroupRead() == canGroupRead
84 assert permissions.canGroupWrite() == canGroupWrite
85 assert permissions.canGroupExecute() == canGroupExecute
86 assert permissions
[all...]
H A DUnixDirectoryListingFormatterTest.groovy13 * See the License for the specific language governing permissions and
53 owner: OWNER, group: GROUP, permissions: FILE_PERMISSIONS)
66 owner: OWNER, group: GROUP, permissions: DIR_PERMISSIONS)
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
H A DUserAccount.java13 * See the License for the specific language governing permissions and
205 Permissions permissions = entry.getPermissions();
206 if (permissions == null) {
211 return permissions.canUserRead();
214 return permissions.canGroupRead();
216 return permissions.canWorldRead();
226 Permissions permissions = entry.getPermissions();
227 if (permissions == null) {
232 return permissions.canUserWrite();
235 return permissions
[all...]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemEntry.java13 * See the License for the specific language governing permissions and
62 return permissions;
65 public void setPermissions(Permissions permissions) { argument
66 this.permissions = permissions;
69 private Permissions permissions; field in class:AbstractFileSystemEntry
119 this.permissions = new Permissions(permissionsString);
H A DUnixDirectoryListingFormatter.java13 * See the License for the specific language governing permissions and
54 Permissions permissions = fileSystemEntry.getPermissions() != null ? fileSystemEntry.getPermissions() : Permissions.DEFAULT;
55 String permissionsStr = StringUtil.padRight(permissions.asRwxString(), 9);
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/
H A DUserAccountTest.groovy13 * See the License for the specific language governing permissions and
106 // No file permissions - readable by all
109 // UserAccount has no username or group; use World permissions
130 // No file permissions - writable by all
133 // UserAccount has no username or group; use World permissions
154 // No file permissions - executable by all
157 // UserAccount has no username or group; use World permissions
202 def permissions = permissionsString ? new Permissions(permissionsString) : null
203 return new FileEntry(path: '', owner: owner, group: group, permissions: permissions)
[all...]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
H A DAbstractStoreFileCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
46 fileSystem.getEntry(FILE).permissions = Permissions.NONE
52 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
59 fileSystem.getEntry(DIR).permissions = new Permissions('rw-rw-rw-')
97 assert fileEntry.permissions == userAccount.defaultPermissionsForNewFile
H A DCdupCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
54 dir.permissions = new Permissions('rw-rw-rw-')
H A DCwdCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
67 dir.permissions = new Permissions('rw-rw-rw-')
H A DDeleCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
80 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
H A DListCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
96 fileSystem.getEntry(DIR).permissions = new Permissions('-wx-wx-wx')
H A DMkdCommandHandlerTest.groovy13 * See the License for the specific language governing permissions and
48 assert dirEntry.permissions == PERMISSIONS
57 assert dirEntry.permissions == UserAccount.DEFAULT_PERMISSIONS_FOR_NEW_DIRECTORY
77 fileSystem.getEntry(PARENT).permissions = new Permissions('r-xr-xr-x')
83 fileSystem.getEntry(PARENT).permissions = new Permissions('rw-rw-rw-')

Completed in 264 milliseconds

1234567891011>>