<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4996&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Sharing files between users with stickybit and setgid]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4996</link>
		<description><![CDATA[The most recent posts in [SOLVED] Sharing files between users with stickybit and setgid.]]></description>
		<lastBuildDate>Tue, 19 Apr 2022 13:51:46 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Sharing files between users with stickybit and setgid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35685#p35685</link>
			<description><![CDATA[<p>Here&#039;s how the file should look:</p><div class="codebox"><pre><code>$ getfacl /home/test/empty
getfacl: Removing leading &#039;/&#039; from absolute path names
# file: home/test/empty
# owner: empty
# group: test
user::rw-
group::r--
other::r--

$</code></pre></div><p>^ That was after following the linked guide and any user in the <em>test</em> group can delete (but not modify) /home/test/empty. The sequence you have posted does not match the content of my provided link.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 19 Apr 2022 13:51:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35685#p35685</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sharing files between users with stickybit and setgid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35683#p35683</link>
			<description><![CDATA[<p>ooh I think I see what going on, The sticky bit prevent everyone else than the owner of the file to delete it, so therefor edit it too <img src="http://dev1galaxy.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Tue, 19 Apr 2022 12:03:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35683#p35683</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sharing files between users with stickybit and setgid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35681#p35681</link>
			<description><![CDATA[<p>Thanks HOAS, I don&#039;t understand I beleive my commands cover whats in that link..</p><p>btw Marie &amp; John are both in the tester group</p><div class="codebox"><pre><code>cat /etc/group | grep tester
tester:x:1001:John,marie</code></pre></div><p>and the file created by John has it GID as tester</p><div class="codebox"><pre><code>getfacl /home/tester/by_john.txt

# file: home/tester/by_John.txt
# owner: John
# group: tester
user::rw-
group::r-x			#effective:r--
group:tester:rwx		#effective:rw-
mask::rw-
other::---</code></pre></div><p>and we can see --&gt; group:tester:rwx<br />So why marie that part of tester can&#039;t delete/modify it ?</p><p>Additionnaly ls -l on the /home/tester give:</p><div class="codebox"><pre><code>drwxrws--T+  2 root    tester  4.0K Apr 18 11:17 tester</code></pre></div><p>As it should be, right ?</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Tue, 19 Apr 2022 11:00:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35681#p35681</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sharing files between users with stickybit and setgid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35669#p35669</link>
			<description><![CDATA[<p><a href="https://superuser.com/questions/19318/how-can-i-give-write-access-of-a-folder-to-all-users-in-linux" rel="nofollow">https://superuser.com/questions/19318/h … s-in-linux</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 18 Apr 2022 12:34:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35669#p35669</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Sharing files between users with stickybit and setgid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35665#p35665</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I would like to share files between users ( <strong>/home/tester</strong> )</p><p>I would like that only members of the group <strong>tester </strong> have access to that folder and can only delete their files</p><p>I&#039;ve tried the following</p><div class="codebox"><pre><code>su

groupadd tester
useradd -m -c &quot;John Doe&quot; John
passwd John

usermod -aG tester John
usermod -aG tester Marie

mkdir /home/tester
cd /home/tester

chown :tester .
chmod +t .
chmod -R g+s .
setfacl -Rm g:tester:rwx,d:g:tester;rwx .</code></pre></div><p>so John and Marie have access to <strong>/home/tester</strong> they can create files, read the files of the others, but can&#039;t edit files from others.. any ideas ?</p><div class="codebox"><pre><code>su

getfacl /home/tester/by_john.txt

# file: home/tester/by_John.txt
# owner: John
# group: tester
user::rw-
group::r-x			#effective:r--
group:tester:rwx		#effective:rw-
mask::rw-
other::---</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Mon, 18 Apr 2022 09:21:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35665#p35665</guid>
		</item>
	</channel>
</rss>
