Don't log OOPSes when people try to delete a directory

Bug #372506 reported by Jonathan Lange on 2009-05-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Michael Hudson-Doyle

Bug Description

If a user tries to delete (as opposed to rmdir) a directory on the SSH server, we log an OOPS with a wrapped version of the underlying OS error. There's no need to log OOPSes here at all, the error is of the same category as "file not found".

See OOPS-1221SMPSSH3 for an example:
  TransportError: Transport error: [Errno 21] Is a directory: ...

Related branches

Ursula Junque (ursinha) on 2009-05-12
description: updated
Changed in launchpad-code:
assignee: nobody → Michael Hudson (mwhudson)
milestone: none → 3.1.10
Michael Hudson-Doyle (mwhudson) wrote :

launchpad/devel r9805

Changed in launchpad-code:
status: Triaged → Fix Committed
Changed in launchpad-code:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers