Skip to content

Commit

Permalink
Fixed permissions for FTP/Local adapters.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Feb 13, 2014
1 parent 063eddb commit a6bf4ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/AbstractFtpAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class AbstractFtpAdapter extends AbstractAdapter
protected $separator = '/';
protected $root;
protected $permPublic = 0744;
protected $permPrivate = 0000;
protected $permPrivate = 0700;

public function __construct(array $config)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
class Local extends AbstractAdapter
{
protected static $permissions = array(
'public' => 0644,
'private' => 0000,
'public' => 0744,
'private' => 0700,
);

/**
Expand Down

0 comments on commit a6bf4ab

Please sign in to comment.