Permissions Issue when mounting from Win2k8
"Ahmed Al-Jeshi" <[email protected]> Wed, 10 Feb 2010 14:29:36 +0300
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
--===============6259813163068288983==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_00E3_01CAAA5D.790DD2F0"
Content-Language: en-us
------=_NextPart_000_00E3_01CAAA5D.790DD2F0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Dears,
I am facing the below scenario:
The following entries are permanently at /etc/fstab
//SERVERNAME/SAN1 /SAN1 cifs
dir_mode=0775,file_mode=0775,uid=18353,gid=300,domain=XYZ,credentials=/root/
.smbpasswd 0 0
adminuser# mount /SAN1
When another user accesses (e.g. testuser) the share and write files, the
files ownership permission will be assigned to adminuser and the real owner
(testuser) won't have access permission on those files.
Ideally, I would like a method where whoever creates a file on the share,
will have ownership permission. Does that method exist?
Best Regards,
Ahmed
------=_NextPart_000_00E3_01CAAA5D.790DD2F0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p =
class=3DMsoNormal>Dears,<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>I am facing =
the below scenario:<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>The following entries are permanently at =
<b>/etc/fstab</b><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p> </o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>//SERVERNAME/SAN1 =
/SAN1 cifs =
dir_mode=3D0775,file_mode=3D0775,uid=3D18353,gid=3D300,domain=3DXYZ,crede=
ntials=3D/root/.smbpasswd 0 0<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p> </o:p></span></p><p =
class=3DMsoNormal><i><span =
style=3D'color:#1F497D'>adminuser</span></i><span =
style=3D'color:#1F497D'># mount /SAN1<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>When another =
user accesses (e.g. <i>testuser)</i> the share and write files, the =
files ownership permission will be assigned to <i>adminuser</i> and the =
real owner (<i>testuser)</i> won’t have access permission on those =
files.<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Ideally, I would like a method where whoever creates a =
file on the share, will have ownership permission. Does that =
method exist?<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Best Regards,<o:p></o:p></p><p =
class=3DMsoNormal>Ahmed<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p></div></body></html>
------=_NextPart_000_00E3_01CAAA5D.790DD2F0--
--===============6259813163068288983==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
linux-cifs-client mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/linux-cifs-client
--===============6259813163068288983==--