Bug 3119 - tl-ldap-certaliases should perhaps support creating .ssh with NFS root squash
Summary: tl-ldap-certaliases should perhaps support creating .ssh with NFS root squash
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Smart card (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on: 2790
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-02 12:28 CEST by Peter Åstrand
Modified: 2015-09-03 15:23 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2009-05-02 12:28:07 CEST
Continuation of bug 2790. In the NFS root squash case, "root" is not allowed to write to /home/$USER. Currently, however, tl-ldap-certaliases tries to create the .ssh directory as root. This should fail. One alternative and probably better approach would be to change UID to the user itself before trying mkdir. This can be done by calling os.setuid() before mkdir, and then changing back to root afterwards.

Note You need to log in before you can comment on or make changes to this bug.