sockd 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sockd/runner.rb +1 -1
- data/lib/sockd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9bb01a2e4b1d24261fce56f2b66bd25975e33b5
|
4
|
+
data.tar.gz: fa1a0fc24b4d2e0e7f53f948cc0ae0765566ef44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55c7365353edd8d87b9862f3e52ae328b247360ae738225d49085a2e05099636ac846b9d48a319eac0f1f413fec6e515dcbe1d3e2d98b709edc0c2cd0b3fddd
|
7
|
+
data.tar.gz: a1bf0d11bcd74d917ae0c0a64e1ee60c862a0189799c3dd32ec3df9b423ab1d0dac80998dae1e61491c7f4168fb93bd2864c110ed139a9adcb888bc8bc34446b
|
data/lib/sockd/runner.rb
CHANGED
@@ -293,8 +293,8 @@ module Sockd
|
|
293
293
|
gid = Etc.getgrnam(group).gid if group
|
294
294
|
gid = Etc.getpwnam(user).gid if group.nil? && user
|
295
295
|
|
296
|
-
Process::Sys.setuid(uid) if uid
|
297
296
|
Process::Sys.setgid(gid) if gid
|
297
|
+
Process::Sys.setuid(uid) if uid
|
298
298
|
rescue ArgumentError => e
|
299
299
|
# user or group does not exist
|
300
300
|
raise ProcError, "unable to drop privileges (#{e})"
|
data/lib/sockd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sockd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Greiling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|