Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

cifs and umask?!?

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


Jochen.Willeke at wincor-nixdorf

Jul 14, 2008, 7:38 AM

Post #1 of 4 (1865 views)
Permalink
cifs and umask?!?

Hello toasters,

we have several volumes with unix-sec style where there is a cifs share
on that volume/qtree as well. For this reason we use the usermap.cfg and
it works quite well so far.

The only question i have is, when i create a new file on a volume/qtree
with unix sec-style using the cifs share and a windows user the
unix-permission is always 777. Is there something like "umask" which can
be set on the filer to get another permission style??

I found a related bug in now but there is no solution :/

http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=29551

Regards

Jochen

--
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


Christopher.Kusek at netapp

Jul 14, 2008, 1:29 PM

Post #2 of 4 (1780 views)
Permalink
RE: cifs and umask?!? [In reply to]

Jochen,

You should check out the option "wafl.default_qtree_mode" as that might help with what you're attempting to do.

Christopher

-----Original Message-----
From: Willeke, Jochen [mailto:Jochen.Willeke [at] wincor-nixdorf]
Sent: Monday, July 14, 2008 9:39 AM
To: toasters [at] mathworks
Subject: cifs and umask?!?

Hello toasters,

we have several volumes with unix-sec style where there is a cifs share
on that volume/qtree as well. For this reason we use the usermap.cfg and
it works quite well so far.

The only question i have is, when i create a new file on a volume/qtree
with unix sec-style using the cifs share and a windows user the
unix-permission is always 777. Is there something like "umask" which can
be set on the filer to get another permission style??

I found a related bug in now but there is no solution :/

http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=29551

Regards

Jochen

--
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


scl at sasha

Jul 14, 2008, 2:13 PM

Post #3 of 4 (1803 views)
Permalink
Re: cifs and umask?!? [In reply to]

> Hello toasters,
>
> we have several volumes with unix-sec style where there is a cifs share
> on that volume/qtree as well. For this reason we use the usermap.cfg and
> it works quite well so far.
>
> The only question i have is, when i create a new file on a volume/qtree
> with unix sec-style using the cifs share and a windows user the
> unix-permission is always 777. Is there something like "umask" which can
> be set on the filer to get another permission style??
>
> I found a related bug in now but there is no solution :/
>
> http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=29551
>
> Regards
>
> Jochen

The "cifs shares -add" and "cifs shares -change" commands have various
options for setting the Unix umask.

By default in a Unix qtree, when you create a new file or directory
with CIFS it simply inherits the permissions of the parent directory.

So if you are always getting 777 permissions on new files, then check
the perms of the parent directory. By the way, when you use
"qtree create" to create a new Unix qtree, its perms are 777.



Steve Losen scl [at] virginia phone: 434-924-0640

University of Virginia ITC Unix Support


Jochen.Willeke at wincor-nixdorf

Jul 15, 2008, 1:31 AM

Post #4 of 4 (1798 views)
Permalink
RE: cifs and umask?!? [In reply to]

Hi,

yes that in conjunction with the "cifs shares -change <name> -umask <mask>", as Steven has pointed out, gives the control i need :D

Regards and thanks to all

Jochen

-----Original Message-----
From: Kusek, Christopher [mailto:Christopher.Kusek [at] netapp]
Sent: Monday, July 14, 2008 10:29 PM
To: Willeke, Jochen; toasters [at] mathworks
Subject: RE: cifs and umask?!?

Jochen,

You should check out the option "wafl.default_qtree_mode" as that might help with what you're attempting to do.

Christopher

-----Original Message-----
From: Willeke, Jochen [mailto:Jochen.Willeke [at] wincor-nixdorf]
Sent: Monday, July 14, 2008 9:39 AM
To: toasters [at] mathworks
Subject: cifs and umask?!?

Hello toasters,

we have several volumes with unix-sec style where there is a cifs share
on that volume/qtree as well. For this reason we use the usermap.cfg and
it works quite well so far.

The only question i have is, when i create a new file on a volume/qtree
with unix sec-style using the cifs share and a windows user the
unix-permission is always 777. Is there something like "umask" which can
be set on the filer to get another permission style??

I found a related bug in now but there is no solution :/

http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=29551

Regards

Jochen

--
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



--
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.