[tahoe-lafs-trac-stream] [tahoe-lafs] #1362: SFTP: should removing a non-empty directory be permitted?
tahoe-lafs
trac at tahoe-lafs.org
Wed Feb 16 17:49:29 PST 2011
#1362: SFTP: should removing a non-empty directory be permitted?
-------------------------------+--------------------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: code-frontend | Version: 1.8.2
Keywords: sftp sshfs delete | Launchpad Bug:
-------------------------------+--------------------------------------------
The SFTP frontend currently allows deleting a non-empty directory. This is
a well-defined and useful operation on a Tahoe filesystem, but it would
not be allowed on a POSIX filesystem.
It's unclear whether applications using SFTP via sshfs might rely on
attempts to delete a non-empty directory being denied. In principle they
could, but I've no evidence that this is common.
TODO: check whether {{{rm [-r] [-f]}}} on platforms that support sshfs
explicitly checks that a directory is empty before trying to delete it.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1362>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list