nwconn: route AFP access timestamps through atime
All checks were successful
Source release / source-package (push) Successful in 48s
All checks were successful
Source release / source-package (push) Successful in 48s
This commit is contained in:
@@ -840,6 +840,24 @@ The report showed `bitmap=0x2000`, `backup=0x576eb9aa`, and the backing xattr
|
||||
`1700000000`.
|
||||
|
||||
|
||||
### AFP Access Date/Time smoke
|
||||
|
||||
`afp_set_file_info_smoke` supports the WebSDK Access Date/Time request bitmap
|
||||
`0x0400` via:
|
||||
|
||||
```sh
|
||||
./afp_set_file_info_smoke \
|
||||
-S MARS -U SUPERVISOR -P secret \
|
||||
--access-time-only --access-time-epoch 1700000000 \
|
||||
SYS:PUBLIC/pmdflts.ini
|
||||
```
|
||||
|
||||
The server stores Access Date/Time through the existing POSIX `st_atime` path,
|
||||
preserving `st_mtime` with `utime()` and enforcing trustee Modify rights before
|
||||
changing the timestamp. The AFP file-information record exposes the Access
|
||||
Date at offset 22; no AFP-specific xattr is added for this NetWare-semantic
|
||||
timestamp.
|
||||
|
||||
### AFP Create Date/Time smoke
|
||||
|
||||
`afp_set_file_info_smoke` supports the WebSDK Create Date/Time request bitmap
|
||||
|
||||
Reference in New Issue
Block a user