No subject


Tue Dec 2 02:23:37 GMT 2003


</font><font size=2 face="sans-serif"><br>
Permissions - Bits capable of being set or reset to allow certain types of access to it. Permissions for directories may have a different meaning than the same set of permissions on files. </font>
<p><font size=2 face="sans-serif">Read: </font>
<ul>
<li><font size=2 face="sans-serif">To be able to view contents of a file </font>
<li><font size=2 face="sans-serif">To be able to read a directory </font>
<br><font size=2 face="sans-serif">Write: </font>
<ul>
<li><font size=2 face="sans-serif">To be able to add to or change a file </font>
<li><font size=2 face="sans-serif">To be able to delete or move files in a directory </font>
<br><font size=2 face="sans-serif">Execute: </font>
<ul>
<li><font size=2 face="sans-serif">To be able to run a binary program or shell script </font>
<li><font size=2 face="sans-serif">To be able to search in a directory, combined with read permission </font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="sans-serif"><br>
I would recommend that those of you that's unsure about UNIX security read this HOWTO, as it explains the complexity of security on UNIX</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
(not that other OS's are less complex, you just don't get to see all of it..)</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
--Anders</font><font size=3 face="Times New Roman"> <br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=2%>
<td width=43%><font size=1 face="sans-serif"><b>Tobias Manthey &lt;tmanthey at gmx.de&gt;</b></font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
Sent by: samba-ntdom-admin at us4.samba.org</font><font size=3 face="Times New Roman"> </font>
<p><font size=1 face="sans-serif">09/23/2000 05:58 PM</font><font size=3 face="Times New Roman"> </font>
<td width=54%><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; &nbsp; &nbsp;samba-ntdom at us4.samba.org</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp; &nbsp; &nbsp; &nbsp;Samba TNG-2.6: File permission problem</font></table>
<br><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Courier New"><br>
Hi all,<br>
please anyone correct me when I state there is no other way to integrate<br>
W2K Clients into a Samba Domain, than to use Samba-TNG?<br>
If so can help me anyone with the following problem.<br>
The follwing directory is shared among the clients<br>
<br>
drwxrwxrwx &nbsp; 8 tobias &nbsp; manager &nbsp; &nbsp; &nbsp;4096 Sep 24 00:30 public<br>
<br>
[public]<br>
path = /usr/local/samba/shares/public<br>
public = no<br>
comment = Public Share<br>
create mask = 775<br>
directory mask = 775<br>
writable = yes<br>
force create mode = 774<br>
<br>
My goal is to create directories to which an ordinary user can add files<br>
but cannot overwrite the existing ones.<br>
<br>
So my apporach was the following:<br>
create a file below public:<br>
-rw-r--r-- &nbsp; 1 tobias &nbsp; manager &nbsp; &nbsp; &nbsp; &nbsp; 0 Sep 24 00:44 test.txt<br>
<br>
(note that a ordinary user does no belong to the group manager)<br>
But I was kinda suprised that every user can delete this file. Even if it<br>
belonds to root:root with 700 permissions. Is this a wanted behavior?<br>
TIA<br>
Tobias<br>
<br>
-- <br>
Sent through GMX FreeMail - http://www.gmx.net<br>
</font><font size=3 face="Times New Roman"><br>
<br>
</font>
<br>
<br></ul></ul></ul>
--=_alternative 002A9CDC87256964_=--




More information about the samba-ntdom mailing list