[Bug 354288] Re: ssh keys for user are not owned by the user [Jaunty] [PATCH]
Todd Deshane
deshantm at gmail.com
Sat Apr 4 01:27:29 UTC 2009
At first I tried to go the os.chown way, but there were a few
complications that made the code less elegant.
First, the chown command takes, as the 2nd and 3rd arguments, the uid
and gid of the user. The user that needs to own the .ssh directory and
its contents is a user that is created within the chroot. While it is
possible to get the information with the pwd module, it is a lot easier
to simply do the chroot and then use chown command within the chroot.
Other suggestions or code are welcome for review. I am not a developer
on this project, so it will be up to them on what they accept/commit as
a fix.
--
ssh keys for user are not owned by the user [Jaunty] [PATCH]
https://bugs.launchpad.net/bugs/354288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list