Skip to content

Commit 3d03108

Browse files
authored
Merge pull request #32 from iMattPro/windows
Fix windows file ownership
2 parents 70cde6d + bfc3f23 commit 3d03108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,9 +624,9 @@ jobs:
624624
mkdir "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\cache\test"
625625
mkdir "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\cache\installer"
626626
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\cache" /grant Users:F /T
627-
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\files" /grant Users:F /T
628-
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\store" /grant Users:F /T
629-
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\images\avatars\upload" /grant Users:F /T
627+
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\files" /grant "Users:(OI)(CI)F" /T
628+
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\images" /grant "Users:(OI)(CI)F" /T
629+
icacls "${env:GITHUB_WORKSPACE}\phpBB3\phpBB\store" /grant "Users:(OI)(CI)F" /T
630630
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule("IIS_IUSRS", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow")
631631
$acl = Get-ACL "${env:TEMP_DIR}"
632632
$acl.AddAccessRule($accessRule)

0 commit comments

Comments
 (0)