  | |  | Samba Question | Samba Question 2004-02-15 - By Thomas Fortner
Back This is probably a basic question, but I 'm having some trouble with a
RedHat 9 server running both Samba and Netatalk. One user on a PC can
create a folder and put files in it, but other users on Macs cannot
access the folder or r/w/x any of the files inside. The folder is
simply created via Windows inside a share already setup in both Samba
and Netatalk. Is there something to set somewhere that will keep the
permissions set to 777 for these public folders without me doing a chmod
-R every couple days?
Thanks!
Corey
Hi Corey,
In your smb.conf file find the section that configures this public share
and add this line to that section:
create mode 0777
This will assign 777 permissions to any files or directories created
within that share.
Tom
Thomas S. Fortner
Burleson, Texas
thomas.fortner@(protected)
"but we preach Christ crucified... " 1 Corinthians 1:23
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN " >
<HTML >
<HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; CHARSET=UTF-8 " >
<META NAME= "GENERATOR " CONTENT= "GtkHTML/3.0.9 " >
</HEAD >
<BODY >
<FONT SIZE= "2 " >This is probably a basic question, but I 'm having some trouble with a RedHat 9 server running both Samba and Netatalk. One user on a PC can create a folder and put files in it, but other users on Macs cannot access the folder or r/w/x any of the files inside. The folder is simply created via Windows inside a share already setup in both Samba and Netatalk. Is there something to set somewhere that will keep the permissions set to 777 for these public folders without me doing a chmod -R every couple days? </FONT > <BR >
<BR >
<FONT SIZE= "2 " >Thanks! <BR >
Corey <BR >
<BR >
<BR >
<BR >
Hi Corey, <BR >
<BR >
In your smb.conf file find the section that configures this public share and add this line to that section: <BR >
<BR >
create mode 0777 <BR >
<BR >
This will assign 777 permissions to any files or directories created within that share. </FONT > <BR >
<TABLE CELLSPACING= "0 " CELLPADDING= "0 " WIDTH= "100% " >
<TR >
<TD >
<BR >
<FONT SIZE= "5 " > <B > <I >Tom </I > </B > </FONT > <BR >
<BR >
Thomas S. Fortner <BR >
Burleson, Texas <BR >
thomas.fortner@(protected) <BR >
<FONT SIZE= "3 " > <I >"but we preach Christ crucified..." </I > </FONT > 1 Corinthians 1:23 <BR >
<BR >
</TD >
</TR >
</TABLE >
</BODY >
</HTML >
|
|
 |