Hi,<br><br>I just wanted to let you know that making that link worked nicely, I also made the /media/data/pub folder member of the &quot;alumnos&quot; group (being alcros the owner) and the only &quot;extra&quot; thing I had to do was to set the &quot;sgid&quot; bit so that every file/folder created by alcros inside pub belonged to the &quot;alumnos&quot; group by default, so they were able to read those files.
<br><br>Thanks a lot for your help Gavin and Jonathan.<br><br>Greetings from Honduras !!<br><br><div><span class="gmail_quote">2007/5/7, Jonathan Carter &lt;<a href="mailto:jonathan@ubuntu.com">jonathan@ubuntu.com</a>&gt;:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Alcros<br><br>Alcros wrote:<br>&gt; I&#39;m trying to setup a couple of folders with edubuntu:
<br>&gt;<br>&gt; /media/data/priv&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;should be available only to people on the<br>&gt; &quot;maestros&quot; group<br>&gt; /media/data/pub&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;should be available to every student<br>&gt;<br>&gt; The idea is that every user logged in from a thin client should have a
<br>&gt; &quot;pub&quot; folder on her desktop where she will find any file<br>&gt; that I (as a teacher) copy to /media/data/pub<br>&gt;<br>&gt; Any pointers on how to do that?<br>&gt; Should I use NFS or Samba ?<br><br>
You don&#39;t really need NFS or Samba (unless you plan to export to fat<br>clients too), since the filesystem is technically mounted on the same<br>machine you&#39;re running your X session from.<br><br>You can create a symbolic link that would put the /media/data/pub folder
<br>on all new user&#39;s desktops, in a terminal, you can:<br>$ sudo mkdir /etc/skel/Desktop<br>$ sudo ln -s /media/data/pub /etc/skel/Desktop/pub<br><br>Then all new users will get a &quot;pub&quot; folder icon on their desktop.
<br><br>For access control, you will have to modify the permissions on the<br>&quot;priv&quot; and &quot;pub&quot; folders. You can get the current permissions and user<br>information from:<br>$ ls -l /media/data<br><br>You can set permissions using the chmod command, I&#39;m not sure if this
<br>link has too much information for you, but if you would like a more<br>complete understanding of permissions, see:<br><a href="http://www.perlfect.com/articles/chmod.shtml">http://www.perlfect.com/articles/chmod.shtml
</a><br><br>To create a group, you use addgroup:<br>$ sudo addgroup maestros<br><br>And to add a user to that group, you can use adduser:<br>$ sudo adduser alcros maestros<br><br>Ask if you get stuck!<br><br>-Jonathan<br>
--<br>Jonathan Carter<br>E-Mail: <a href="mailto:jonathan@ubuntu.com">jonathan@ubuntu.com</a><br>Mobile: +2778 108 2588<br>&nbsp;&nbsp;&nbsp;&nbsp;GPG: 0xCD622E56<br></blockquote></div><br><br clear="all"><br>-- <br>/(bb|[^b]{2})/ that is the Question