<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Umask is not working on CIFS share in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71101#M6477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;umask on Unix does not &lt;STRONG&gt;set&lt;/STRONG&gt; anything - it &lt;STRONG&gt;clears&lt;/STRONG&gt; bits in file modes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 03:44:55 GMT</pubDate>
    <dc:creator>aborzenkov</dc:creator>
    <dc:date>2013-03-22T03:44:55Z</dc:date>
    <item>
      <title>Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71091#M6475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to configure a volume with CIFS and NFS access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a Windows user creates a file, the permissions at Linux level are 744. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to set permission to 777, so I change cifs share with umask 000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work!!! The default umask in Linux server is 022, but if I change it to 0, it doesn't works neither....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:07:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71091#M6475</guid>
      <dc:creator>jose_miguel_almagro</dc:creator>
      <dc:date>2025-06-05T06:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71096#M6476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;umask 0 (in linux) will only set the execute bit on directories.&amp;nbsp; I imagine it works the same with NetApp CIFS.&amp;nbsp; If you really need the file execute bits set, you'll need to do it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the volume unix, ntfs, or mixed security?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you created the share with umask 000, and it didn't work - what happened instead?&amp;nbsp; If it turned up -rw-rw-rw, then see my first note.&amp;nbsp; Otherwise, if you change the cifs options you'll sometimes need to unmap/map the drive again - I've even seen the windows box need a reboot (windows!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say setting the linux umask to 0 didn't work either - again, was the result -rw-rw-rw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 22:24:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71096#M6476</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-03-21T22:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71101#M6477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;umask on Unix does not &lt;STRONG&gt;set&lt;/STRONG&gt; anything - it &lt;STRONG&gt;clears&lt;/STRONG&gt; bits in file modes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 03:44:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71101#M6477</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2013-03-22T03:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71107#M6478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're saying that I cannot create a file with an administrator user via CIFS in a volume with UNIX or MIXED security, and that this file have rwxrwxrwx permissions when I do a ls -l in a linux host on the same volume?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like you're saying, with every configuration (cifs shares -change umask, umask at linux level, ....), I only can get rwxr-x-r-x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot get write permissions to the group and to others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My customer has an old Vseries controller, and he have to launch this process manually (chmod 777), and I only want to confirm this problem, because I've been trying for days, and It isn't works &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 06:47:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71107#M6478</guid>
      <dc:creator>jose_miguel_almagro</dc:creator>
      <dc:date>2013-03-22T06:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71112#M6479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have unix security qtree - what are permissions for top-level directory itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also try to set cifs.preserve_unix_security on, this may allow CIFS clients to explicitly control Unix mode bits. See TR-3490 for details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 07:26:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71112#M6479</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2013-03-22T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71115#M6480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct - I do not believe that you can get the execute bit set on files by manipulating the umask - only on directories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You SHOULD be able to get group write permissions - but you're saying that, with a umask at the volume set to 0, you get rwxr-x-r-x?&amp;nbsp; On a file or directory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 15:47:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71115#M6480</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-03-22T15:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71120#M6481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is getting "others" write permission. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I have write permissions to apache, but I've been talking with the customer and I told him that he should run a chmod manually (or a script) to obtain "others" write permission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like you are saying, the umask of the volume is set to 0. I already tried with file_umask and directory_umask with same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll continue searching and testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 09:36:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71120#M6481</guid>
      <dc:creator>jose_miguel_almagro</dc:creator>
      <dc:date>2013-03-25T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Umask is not working on CIFS share</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71125#M6482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this, though I can't test it right now: &lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=3011255" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=3011255&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Says that permissions are limited to permissions on the parent dir - so if the parent dir doesn't have o+w, you won't get it on the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;News to me....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 22:00:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Umask-is-not-working-on-CIFS-share/m-p/71125#M6482</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-03-26T22:00:33Z</dc:date>
    </item>
  </channel>
</rss>

