Skip to content

Commit

Permalink
README: note about GID-based redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Feb 5, 2012
1 parent 52b936a commit f0949e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ luser$ sg socksified -c id
uid=1000(luser) gid=1001(socksified) groups=1000(luser),1001(socksified)
luser$ sg socksified -c "firefox"

Note about GID-based redirection
========
Keep in mind, that changed GID affects filesystem permissions, so if your
application creates some files, the files will be created with luser:socksified
owner/group. So, if you're not the only user in the group `socksified` and your
umask allows to create group-readble files and your directory permissions, etc.
Ok, you have been warned.

Homepage
========
Expand Down
11 changes: 11 additions & 0 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@ <h2>iptables example</h2>
<strong>luser$</strong> <code>sg socksified -c "firefox"</code>
</pre>

<h3>Note about GID-based redirection</h3>
<p>
Keep in mind, that changed GID affects filesystem permissions, so if your
application creates some files, the files will be created with luser:socksified
owner/group. So, if you're not the only user in the group `socksified` and your
umask allows to create group-readble files and your directory permissions, etc.
<p>
<p>
Ok, you have been warned.
</p>

<h2>Homepage</h2>

<p>Homepage: <a href="http://darkk.net.ru/redsocks/">http://darkk.net.ru/redsocks/</a></p>
Expand Down

0 comments on commit f0949e8

Please sign in to comment.