Overview
| Artifact ID: | 7da80d7bf796d58da99955e8537eae8e3094e2374f779d28fe2dff48c0274485 |
|---|---|
| Ticket: | 1613456fffffffffffffffffffffffffffffffff
file readable lies with samba shared folder or file |
| User & Date: | bll on 2018-03-22 10:46:58 |
Changes
- icomment:
sebres added on 2018-03-22 10:22:33: > I don't think so: > 1. Note, that `_access_s` returns 0 if the file has the given mode. Oh, then the results are correct and _access_s is working, whereas the current implementation of 'file readable' does not. I only looked at _access_s in the header file and did not read the documentation for it. My fault. > 2. Don't use Tcl_GetStringFromObj on joined path ("/" vs "\\"), rather use `Tcl_FSGetNativePath(objv[1])` or `file nativename` in script-level before you supply it to your access-command. Not necessary. All windows internals will handle / correctly. That's only a command line thing. But I had tried that just in case and the results were the same. - login: "bll"
- mimetype: "text/plain"