1 |
Dnia 2014-12-07, o godz. 10:01:23 |
2 |
Michał Górny <mgorny@g.o> napisał(a): |
3 |
|
4 |
> + if uid is not None |
5 |
|
6 |
Missing ':' here, I won't resend the patch for it :P. |
7 |
|
8 |
> + spawn_kwargs["uid"] = uid |
9 |
> + self.usersync_uid = uid |
10 |
> + if gid is not None: |
11 |
> + spawn_kwargs["gid"] = gid |
12 |
> + spawn_kwargs["groups"] = [gid] |
13 |
> + if home is not None: |
14 |
> + spawn_kwargs["env"]["HOME"] = home |
15 |
> + elif ('usersync' in self.settings.features and |
16 |
> portage.data.secpass >= 2 and |
17 |
> (st.st_uid != os.getuid() and st.st_mode & 0o700 or |
18 |
> st.st_gid != os.getgid() and st.st_mode & 0o070)): |
19 |
|
20 |
|
21 |
|
22 |
-- |
23 |
Best regards, |
24 |
Michał Górny |