Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!33
Issue
#3231996
: Ensure file system is writeable
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3231996
: Ensure file system is writeable
issue/automatic_updates-3231996:3231996-ensure-file-system
into
8.x-2.x
Overview
4
Commits
12
Pipelines
0
Changes
1
Merged
Kunal Sachdev
requested to merge
issue/automatic_updates-3231996:3231996-ensure-file-system
into
8.x-2.x
3 years ago
Overview
1
Commits
12
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
20371a2a
Prev
Next
Show latest version
1 file
+
5
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
20371a2a
Add comment about is_writable()
· 20371a2a
Adam G-H
authored
3 years ago
src/Validator/WritableFileSystemValidator.php
+
5
−
0
Options
@@ -35,6 +35,11 @@ class WritableFileSystemValidator implements EventSubscriberInterface {
*
* @param \Drupal\automatic_updates\Event\UpdateEvent $event
* The event object.
*
* @todo It might make sense to use a more sophisticated method of testing
* writability than is_writable(), since it's not clear if that can return
* false negatives/positives due to things like SELinux, exotic file
* systems, and so forth.
*/
public
function
checkPermissions
(
UpdateEvent
$event
):
void
{
$messages
=
[];
Loading