  | |  | inhertited file permissons | inhertited file permissons 2004-03-24 - By Michael Anaya
Back
Hi,
I am sharing some directories via SMB and I am attempting to have them
set up so that when anyone creates a file within them, the new file simply
inherits the permissions of the shared directory.
I have managed to get the new files to inherit the user and the group,
but I cant work out how to get it to inherit the RWX permissions.
Does anyone know how to do this? Thanks
Donald Tyler
ad this to your smb.conf file:
inherit permissions = no
sorry that should be yes
~michael anaya
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML > <HEAD >
<META http-equiv=Content-Type content= "text/html; charset=us-ascii " >
<META content= "MSHTML 6.00.2800.1400 " name=GENERATOR >
<STYLE >@(protected) Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman "
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman "
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman "
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.emailstyle17 {
COLOR: windowtext; FONT-FAMILY: Arial
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE >
</HEAD >
<BODY lang=EN-US vLink=purple link=blue >
<DIV > <FONT face= "Bookman Old Style " color=#0000ff size=2 > </FONT > </DIV >
<BLOCKQUOTE dir=ltr style= "MARGIN-RIGHT: 0px " >
<BLOCKQUOTE dir=ltr style= "MARGIN-RIGHT: 0px " >
<DIV class=Section1 >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " >Hi, </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " >I am sharing some directories
via SMB and I am attempting to have them set up so that when anyone creates
a file within them, the new file simply inherits the permissions of the
shared directory. </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " >I have managed to get the new
files to inherit the user and the group, but I cant work out how to get it
to inherit the RWX permissions. </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " >Does anyone know how to do this?
Thanks </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial size=2 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " >Donald Tyler <SPAN
class=384555621-24032004 > <FONT face= "Bookman Old Style "
color=#0000ff > </FONT > </SPAN > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT face=Arial > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 > </SPAN > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT size=+0 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 >ad this to your smb.conf
file: </SPAN > </SPAN > </FONT > </P >
<P class=MsoNormal > <SPAN style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 >inherit permissions = no <SPAN
class=571350222-24032004 > <FONT face= "Bookman Old Style "
color=#0000ff > </FONT > </SPAN > </SPAN > </SPAN > </P >
<P class=MsoNormal > <SPAN style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 > <SPAN
class=571350222-24032004 > </SPAN > </SPAN > </SPAN > </P >
<P class=MsoNormal > <SPAN style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 > <SPAN class=571350222-24032004 > <FONT
face= "Bookman Old Style " color=#0000ff >sorry that should be
yes </FONT > </SPAN > </SPAN > </SPAN > </P >
<P class=MsoNormal > <FONT size=+0 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 > </SPAN > </SPAN > </FONT > </P >
<P class=MsoNormal > <FONT size=+0 > <SPAN
style= "FONT-SIZE: 10pt; FONT-FAMILY: Arial " > <SPAN
class=384555621-24032004 >~michael
anaya </SPAN > </SPAN > </FONT > </P > </DIV > </BLOCKQUOTE > </BLOCKQUOTE > </BODY > </HTML >
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |