Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Bugs

[Bug 1653] Can not rename (move) files across bind mounts

 

 

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Oct 6, 2009, 9:50 AM

Post #1 of 2 (504 views)
Permalink
[Bug 1653] Can not rename (move) files across bind mounts

https://bugzilla.mindrot.org/show_bug.cgi?id=1653

--- Comment #1 from reuben.m [at] gmail 2009-10-07 03:50:07 EST ---
I realize that the sftp server was throwing an error because it can't
rename across mount points. (Even though the bind mount in this case is
sourced from the same partition, I assume there is no way for the
server to know that)

I'm using bind mounts to give different accounts, each with their own
chroot, access to directories that need to be shared between specific
accounts, but not with all accounts.

So I want to append to this report a request for adding a copy command
to the sftp server. I realize this is not part of the "official spec"
but spec doesn't do me a bit of good when it prevents me from getting
anything done. Make it an optional extension if you must. This will
allow to move over mount points using copy + delete origional.

-scp / ssh : will not work for me. I'm using a chroot sftp session that
is locked down. I really don't like the idea of remote users in my
scenario to be running commands not provided by the internal sftp
server or anything that requires a shell. This is mainly for obvious
security reasons since we are creating accounts for external clients
our business deals with.

-moving via copy-local : My users are dealing with huge media files.
This is not a good idea.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


bugzilla-daemon at bugzilla

Oct 6, 2009, 10:26 AM

Post #2 of 2 (450 views)
Permalink
[Bug 1653] Can not rename (move) files across bind mounts [In reply to]

https://bugzilla.mindrot.org/show_bug.cgi?id=1653

--- Comment #2 from reuben.m [at] gmail 2009-10-07 04:26:20 EST ---
OR

(Don't know why I didn't think of this earlier)

just rework the rename function to detect when the user is trying to
rename across a mount point and have it do a copy + delete original
internally in those instances.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.