The GitHub Actions job "Java CI" on commons-vfs.git/feature/junit5-migration 
has failed.
Run started by GitHub user gnodet (triggered by gnodet).

Head commit for run:
1afdb56f433481052a4ca6a0b20349fc650b3778 / Guillaume Nodet <[email protected]>
Fix SFTP server UID/GID attributes to match test user

The embedded SFTP server now returns UID 1000 and GID 1000 in file attributes,
matching what the TestCommandFactory returns for 'id -u' and 'id -G' commands.
This ensures the VFS client recognizes the test user as the owner of all files,
allowing proper permission checks.

Also added execute permission for directories by default, as this is required
in Unix for directory traversal (accessing files within the directory).

Changes:
- Added SSH_FILEXFER_ATTR_UIDGID flag to file/directory attributes
- Set UID=1000 and GID=1000 to match test user identity
- Directories now get execute permission by default (rwx = 0700)
- Files get read+write by default (rw- = 0600)

Result: All 101 SFTP tests now pass (99 passing, 2 skipped)

Report URL: https://github.com/apache/commons-vfs/actions/runs/18396847727

With regards,
GitHub Actions via GitBox

Reply via email to