-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support extended file attributes via SFTP. #271
Commits on Mar 25, 2016
-
Checkpointing work on supporting SFTP extended requests for extended …
…attribute operations.
Configuration menu - View commit details
-
Copy full SHA for 96546e7 - Browse repository at this point
Copy the full SHA 96546e7View commit details -
Try to build properly where no l*xattr() functions exists, AND the
XATTR_NOFOLLOW flag is not defined.
Configuration menu - View commit details
-
Copy full SHA for e7381e4 - Browse repository at this point
Copy the full SHA e7381e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb4092c - Browse repository at this point
Copy the full SHA bb4092cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 775fc3b - Browse repository at this point
Copy the full SHA 775fc3bView commit details -
Support f*xattr variants, for operating on open file handles. Remove the
unimplemented getxattrs extended request, for now.
Configuration menu - View commit details
-
Copy full SHA for 0ef68c0 - Browse repository at this point
Copy the full SHA 0ef68c0View commit details
Commits on Mar 31, 2016
-
Adding markers in the code for properly supporting extended attribute…
…s for protocol version 6 sessions.
Configuration menu - View commit details
-
Copy full SHA for 01aad96 - Browse repository at this point
Copy the full SHA 01aad96View commit details -
Make it possible to handle more/larger xattrs, even if via recompile.…
… This is easier than requiring patching.
Configuration menu - View commit details
-
Copy full SHA for 0644169 - Browse repository at this point
Copy the full SHA 0644169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 564fdd7 - Browse repository at this point
Copy the full SHA 564fdd7View commit details
Commits on Apr 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 85cbe3d - Browse repository at this point
Copy the full SHA 85cbe3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bd9735 - Browse repository at this point
Copy the full SHA 5bd9735View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed9ee0d - Browse repository at this point
Copy the full SHA ed9ee0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc1b39e - Browse repository at this point
Copy the full SHA fc1b39eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41684df - Browse repository at this point
Copy the full SHA 41684dfView commit details
Commits on Apr 13, 2016
-
Threading the xattr support through more of the request handlers, and…
… adding two new SFTPOptions for ignoring xattrs on SETSTAT and OPEN requests, mirroring the existing options for ownership/permissions.
Configuration menu - View commit details
-
Copy full SHA for 5adcf3a - Browse repository at this point
Copy the full SHA 5adcf3aView commit details -
Move the xattr implementation/handling of the system calls to the FSI…
…O API, where they should be. This involves adding a --disable-xattr configure option, expanding the FSIO API and its unit tests, and refactoring the mod_sftp use of those calls.
Configuration menu - View commit details
-
Copy full SHA for 3acfe32 - Browse repository at this point
Copy the full SHA 3acfe32View commit details -
Checkpointing the remaining mod_sftp work for supporting xattrs for p…
…rotocol version 6.
Configuration menu - View commit details
-
Copy full SHA for dbe830d - Browse repository at this point
Copy the full SHA dbe830dView commit details -
Check for the attr/xattr.h header for xattrs; it appears that on some…
… platforms, this is where the ENODATA/ENOATTR errno values are defined. Sigh.
Configuration menu - View commit details
-
Copy full SHA for 059b376 - Browse repository at this point
Copy the full SHA 059b376View commit details
Commits on Apr 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d55a2a8 - Browse repository at this point
Copy the full SHA d55a2a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f4f225 - Browse repository at this point
Copy the full SHA 9f4f225View commit details -
Apparently sys/xattr.h needs to be included BEFORE attr/xattr.h, to a…
…void issues (one defines the setxattr flag values using an enum, the other uses macros; what a mess).
Configuration menu - View commit details
-
Copy full SHA for e142688 - Browse repository at this point
Copy the full SHA e142688View commit details -
Make sure that we properly map our FSIO setxattr flags to the OS setx…
…attr flag values.
Configuration menu - View commit details
-
Copy full SHA for 0049120 - Browse repository at this point
Copy the full SHA 0049120View commit details -
Configuration menu - View commit details
-
Copy full SHA for a658dcd - Browse repository at this point
Copy the full SHA a658dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4299fac - Browse repository at this point
Copy the full SHA 4299facView commit details -
Gracefully handle where ENOATTR and ENODATA are defined to the be sam…
…e value; this causes build failures with some picky/strict compiler flags.
Configuration menu - View commit details
-
Copy full SHA for fe4a84a - Browse repository at this point
Copy the full SHA fe4a84aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ebd01 - Browse repository at this point
Copy the full SHA c1ebd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f5465 - Browse repository at this point
Copy the full SHA 06f5465View commit details -
Needed to handle the (very) different xattr implementation in *BSDs, …
…which rippled through the entire API. Almost ready.
Configuration menu - View commit details
-
Copy full SHA for 06f28c8 - Browse repository at this point
Copy the full SHA 06f28c8View commit details -
By using a buffer structure, we allow for READDIR responses large enough
to contain all of the xattrs for a file. This required some refactoring, to allow for possible resizing of the READDIR response buffer.
Configuration menu - View commit details
-
Copy full SHA for 7fd3d16 - Browse repository at this point
Copy the full SHA 7fd3d16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 546b327 - Browse repository at this point
Copy the full SHA 546b327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4099b - Browse repository at this point
Copy the full SHA 2c4099bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94f70fa - Browse repository at this point
Copy the full SHA 94f70faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9385794 - Browse repository at this point
Copy the full SHA 9385794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c7e3f - Browse repository at this point
Copy the full SHA 19c7e3fView commit details -
We only need to translate the FSIO setxattr flags on systems where <s…
…ys/xattr.h> is used, not where <sys/extattr.h> is used (i.e. BSDs).
Configuration menu - View commit details
-
Copy full SHA for eba86ba - Browse repository at this point
Copy the full SHA eba86baView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee8419f - Browse repository at this point
Copy the full SHA ee8419fView commit details -
Fix more of the autoconf detection for xattr-related functions; we ne…
…ed to link, not just compile, to perfectly detect their presence. Silly compilers.
Configuration menu - View commit details
-
Copy full SHA for 1f92164 - Browse repository at this point
Copy the full SHA 1f92164View commit details
Commits on Apr 15, 2016
-
Start honoring the flags field in e.g. STAT/LSTAT requests. For READL…
…INK and READDIR requests, though, a set of attribute flags had to be assumed, as those requests do not have a flags field defined.
Configuration menu - View commit details
-
Copy full SHA for 4940d68 - Browse repository at this point
Copy the full SHA 4940d68View commit details -
Include the ATTR_LINK_COUNT attribute in READDIR requests, but NOT
ATTR_EXTENDED, as some clients (e.g. lftp) choke on those in FXP_NAMEs in a READDIR response.
Configuration menu - View commit details
-
Copy full SHA for 03db126 - Browse repository at this point
Copy the full SHA 03db126View commit details -
Actually, we CAN include ATTR_EXTENDED in READDIR responses. We simpl…
…y need to make sure that if no xattrs are found, we still include the xattr count (i.e. of zero).
Configuration menu - View commit details
-
Copy full SHA for 85af5a0 - Browse repository at this point
Copy the full SHA 85af5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1e3817 - Browse repository at this point
Copy the full SHA f1e3817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2a5e3 - Browse repository at this point
Copy the full SHA 9e2a5e3View commit details
Commits on Apr 16, 2016
-
Make sure that we read in ATTR_EXTENDED regardless of SFTP protocol v…
…ersion, rather than just for protocol version 4 and higher; they are defined for protocol version 3 as well.
Configuration menu - View commit details
-
Copy full SHA for 17f8d00 - Browse repository at this point
Copy the full SHA 17f8d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82bac30 - Browse repository at this point
Copy the full SHA 82bac30View commit details
Commits on Apr 17, 2016
-
Make sure that we properly honor ENODATA and ENOATTR, even if both ar…
…e defined and use the same value.
Configuration menu - View commit details
-
Copy full SHA for 0df7898 - Browse repository at this point
Copy the full SHA 0df7898View commit details -
Fix the SFTPOption names for xattrs, and update the code/log messages to
match. Make sure those new SFTPOptions are documented.
Configuration menu - View commit details
-
Copy full SHA for 443dab8 - Browse repository at this point
Copy the full SHA 443dab8View commit details
Commits on Apr 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for fdabb79 - Browse repository at this point
Copy the full SHA fdabb79View commit details
Commits on Apr 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e9e6ed6 - Browse repository at this point
Copy the full SHA e9e6ed6View commit details -
Make sure that any xattrs on the source file are copied to the destin…
…ation file by the pr_fs_copy_file() function.
Configuration menu - View commit details
-
Copy full SHA for 63a0abf - Browse repository at this point
Copy the full SHA 63a0abfView commit details
Commits on Apr 20, 2016
-
Provide a way to disable xattr support (e.g. in the face of buggy cli…
…ents) via a new FSOptions directive.
Configuration menu - View commit details
-
Copy full SHA for 9162383 - Browse repository at this point
Copy the full SHA 9162383View commit details
Commits on Apr 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1e33272 - Browse repository at this point
Copy the full SHA 1e33272View commit details