Bug 1593

Summary: Configuration ChrootDirectory=%h is unuseful (users cannot access their homes)
Product: Portable OpenSSH Reporter: jchadima
Component: sftp-serverAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: normal CC: djm, mail
Priority: P2    
Version: 5.2p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
Enable users to to acces their homes in case of ChrootDirectory=%h
none
last version of the patch 08/28/09 none

Description jchadima 2009-04-28 19:48:19 AEST
Created attachment 1629 [details]
Enable users to to acces their homes in case of ChrootDirectory=%h

In case of ChrootDirectory=%h all users except root cannot acces their homes, because chroot jail checks if whole path (all components) are root owned with sctrict permissions. The patch attaced solves this problem.
Comment 1 Damien Miller 2009-04-30 14:10:32 AEST
No, we require the entire path to be root-owned for good reasons. This has been discussed extensively on the mailing list.
Comment 2 jchadima 2009-08-28 15:25:25 AEST
Created attachment 1678 [details]
last version of the patch 08/28/09
Comment 3 Damien Miller 2009-10-06 15:01:52 AEDT
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.