[Bug 1953] New: Implementation of xattr in sftp-server for sshfs
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Thu Dec 1 21:43:14 EST 2011
https://bugzilla.mindrot.org/show_bug.cgi?id=1953
Bug #: 1953
Summary: Implementation of xattr in sftp-server for sshfs
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: All
OS/Version: All
Status: NEW
Keywords: patch
Severity: enhancement
Priority: P2
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: e.kuemmerle at fz-juelich.de
Created attachment 2109
--> https://bugzilla.mindrot.org/attachment.cgi?id=2109
Patch that implements xattr in sftp-server
In the attachment you will find a patch that implements xattr
functionality in the sftp-server, intended to be used by sshfs.
A corresponding patch to sshfs will be filed to the sshfs developers.
I did not implement xattr in sftp-client, because I think that it is
not really useful: For sshfs, the low level functions
set-/get-/list-/removexattr are needed. But for a user interface like
sftp-client, high level functions like set-/getfacl and set-/getfattr
would be necessary. These are rather complex and would unnecessarily
burden the sftp-client code in my opinion.
Additionally, I changed the limitation of entries per message in
process_readdir from max. 100 entries to a packet size limitation,
because the size per entry may be enlarged by xattr data. But
typically, much more than 100 entries can now be sent in one message.
I hope, that you are interested in my patch.
Thanks,
Eberhard
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list