You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "sahvx655-wq (via GitHub)" <gi...@apache.org> on 2026/06/02 06:30:36 UTC

[PR] Skip Write-Protection Test on Unsupported File Systems [felix-dev]

sahvx655-wq opened a new pull request, #515:
URL: https://github.com/apache/felix-dev/pull/515

   Modifies `testInvalidTempDir` in `DirectoryWatcherTest` to verify that `parent.setWritable(false)` actually takes effect before proceeding with the test.
   
   Some file systems and operating systems do not reliably enforce directory write-permission changes (for example, common Windows/NTFS configurations for the directory owner). In such environments, the test's assumptions are invalid and can lead to false failures.
   
   If write access cannot be revoked as expected, the test exits early instead of failing, ensuring consistent behavior across platforms while preserving test coverage where permission enforcement is supported.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@felix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FELIX-6837: Skip Write-Protection Test on Unsupported File Systems [felix-dev]

Posted by "sahvx655-wq (via GitHub)" <gi...@apache.org>.
sahvx655-wq commented on PR #515:
URL: https://github.com/apache/felix-dev/pull/515#issuecomment-4830078508

   any update?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@felix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org