Skip to content

Commit

Permalink
Fix #6403.
Browse files Browse the repository at this point in the history
Former-commit-id: 1e3b8030a46e934ddf5b18416a902fc0c61079a6
  • Loading branch information
dkocher committed Jul 16, 2012
1 parent 9a218c6 commit 06bf1b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/ch/cyberduck/core/s3/S3Path.java
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,9 @@ public void writeAcl(Acl acl, boolean recursive) {
* @return ACL to write to server
*/
protected AccessControlList convert(Acl acl) {
if(null == acl) {
return null;
}
AccessControlList list = new AccessControlList();
list.setOwner(new S3Owner(acl.getOwner().getIdentifier(), acl.getOwner().getDisplayName()));
for(Acl.UserAndRole userAndRole : acl.asList()) {
Expand Down

0 comments on commit 06bf1b5

Please sign in to comment.