bugzilla-daemon at bugzilla.mindrot.org
2011-Dec-01  10:43 UTC
[Bug 1953] New: Implementation of xattr in sftp-server for sshfs
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.
bugzilla-daemon at bugzilla.mindrot.org
2011-Dec-01  23:48 UTC
[Bug 1953] Implementation of xattr in sftp-server for sshfs
https://bugzilla.mindrot.org/show_bug.cgi?id=1953
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2011-12-02 10:48:41
EST ---
I'm not sure we want to go beyond basic POSIX in our sftp. Keeping it
simple was one of the motivations for not implementing features from
draft-filexfer versions > 2
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Seemingly Similar Threads
- [Bug 1942] New: mounting home directory with sshfs -o reconnect requires patch for ssh
- [Bug 1953] Implementation of xattr in sftp-server for sshfs
- [Bug 1953] Implementation of xattr in sftp-server for sshfs
- [Bug 1953] Implementation of xattr in sftp-server for sshfs
- [Bug 1953] Implementation of xattr in sftp-server for sshfs