Skip to content

Commit 4419c3f

Browse files
author
Dale Sikkema
committed
MAGETWO-41440: Update use cases to remove 777 permission to proper permission
- add constants for default permissions
1 parent 2e3aff0 commit 4419c3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/internal/Magento/Framework/Filesystem/DriverInterface.php

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
*/
1515
interface DriverInterface
1616
{
17+
/**
18+
* Permissions to give read/write/execute access to owner and owning group, but not to all users
19+
*/
20+
const WRITEABLE_DIRECTORY_MODE = 0770;
21+
22+
/**
23+
* Permissions to give read/write access to owner and owning group, but not to all users
24+
*/
25+
const WRITEABLE_FILE_MODE = 0660;
26+
1727
/**
1828
*
1929
* @param string $path

0 commit comments

Comments
 (0)