{"id":41900243,"url":"https://github.com/imarc/craft-volume-permissions","last_synced_at":"2026-01-25T15:04:48.174Z","repository":{"id":56990307,"uuid":"210647225","full_name":"imarc/craft-volume-permissions","owner":"imarc","description":"A craft module to set all default local volume permissions using ENV vars","archived":false,"fork":false,"pushed_at":"2020-05-21T17:18:56.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-28T12:53:57.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imarc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-24T16:18:53.000Z","updated_at":"2020-05-21T17:18:59.000Z","dependencies_parsed_at":"2022-08-21T13:50:24.972Z","dependency_job_id":null,"html_url":"https://github.com/imarc/craft-volume-permissions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/imarc/craft-volume-permissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-volume-permissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-volume-permissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-volume-permissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-volume-permissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imarc","download_url":"https://codeload.github.com/imarc/craft-volume-permissions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-volume-permissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-25T15:04:47.556Z","updated_at":"2026-01-25T15:04:48.167Z","avatar_url":"https://github.com/imarc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Craft Volume Permissions\n\nThis is a Craft 3 module which allows settings the default permissions \nof all local volumes with environment variables. The following environment\nvariables are available:\n\n    VOLUME_FILE_PUBLIC_PERMISSION=664\n    VOLUME_FILE_PRIVATE_PERMISSION=660\n    VOLUME_DIR_PUBLIC_PERMISSION=775\n    VOLUME_DIR_PRIVATE_PERMISSION=770\n\nBeing able to set the proper non-standard file permissions can be critical in certain environments. \nA specific example is deploying to a filesystem using ACLs where it is essential that directories and files are group writable.\n\n## Install\n\nInstall in your Craft 3 project using composer:\n\n    composer require imarc/craft-volume-permissions\n\nThen enable the module within your `config/app.php` file:\n\n    \u003c?php\n    return [\n        'modules' =\u003e [\n            'volume-permissions' =\u003e \\Imarc\\Craft\\Modules\\VolumePermissions::class,\n        ],\n        'bootstrap' =\u003e [\n            'volume-permissions',\n        ],\n    ];\n\nThen use the environment variables to configure the permissions.\n\n### Dirty Hack?\n\nThis module is a bit of a hack as it uses Reflection to alter Flysystem's\nhardcoded Local adapter defaults. Ideally a better solution is found in the future.\n\n## License\n\nThe MIT License (MIT)\n\n## Copyright \n\nCopyright (c) 2019 iMarc LLC\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarc%2Fcraft-volume-permissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimarc%2Fcraft-volume-permissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarc%2Fcraft-volume-permissions/lists"}