Samba share file write/close, rename => permission deniedMounting Windows shares using cifs results in...

Can a rogue effectively triple their speed by combining Dash and Ready?

What does the behaviour of water on the skin of an aircraft in flight tell us?

Can a helicopter mask itself from Radar?

What is the difference between nullifying your vote and not going to vote at all?

Can a non-EU citizen travel within the Schengen area without identity documents?

When a current flow in an inductor is interrupted, what limits the voltage rise?

What is the 中 in ダウンロード中?

How crucial is a waifu game storyline?

Expenditure in Poland - Forex doesn't have Zloty

How to capture more stars?

Socratic Paradox

What is the intuition behind uniform continuity?

count number of files in directory with a certain name

Is floating in space similar to falling under gravity?

Are UK pensions taxed twice?

Team member doesn't give me the minimum time to complete a talk

Differences between “pas vrai ?”, “c’est ça ?”, “hein ?”, and “n’est-ce pas ?”

Are there regional foods in Westeros?

Possible nonclassical ion from a bicyclic system

If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?

What does "tea juice" mean in this context?

Why does the UK have more political parties than the US?

Different PCB color ( is it different material? )

Get LaTeX form from step by step solution



Samba share file write/close, rename => permission denied


Mounting Windows shares using cifs results in “Error:13(Permission denied)”Unable to access SAMBA Share From WindowsFiles created on a Samba share cannot be modified by the same userSMB server not working after upgrade from 3.5 to 3.6Cannot Modify / Delete files over samba shareCan't delete file from samba share + Solaris + ZFS“Read-only file system error” on Samba share, alternative share with identical options working (Linux client)GNU Samba server: check SMB version of exported and mounted sharessamba print$ share won't allow driver upload from Windows machineLinux clients can't login on samba share while windows and mac can (active directory env)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















Samba 3.6.3 on ubuntu 12.04.3 LTS



clients windows server 2008 R2, 2012



From windows, On a samba share I am doing
- open dir1/file

- write dir1/file

- close dir1/file

- rename dir1/file dir2/file-new

- delete dir1/file



I am doing rename so the file can get atomically created in dir2/ dir.



Most of the time it works, but occasionally I get "permission denied" from rename followed by "file in use" from delete.



I see no errors in the smb.* logs.



smb.conf has oplocks = false



Is there anything in the SMB protocol, that would make such infrequent of this error possible ?










share|improve this question































    2















    Samba 3.6.3 on ubuntu 12.04.3 LTS



    clients windows server 2008 R2, 2012



    From windows, On a samba share I am doing
    - open dir1/file

    - write dir1/file

    - close dir1/file

    - rename dir1/file dir2/file-new

    - delete dir1/file



    I am doing rename so the file can get atomically created in dir2/ dir.



    Most of the time it works, but occasionally I get "permission denied" from rename followed by "file in use" from delete.



    I see no errors in the smb.* logs.



    smb.conf has oplocks = false



    Is there anything in the SMB protocol, that would make such infrequent of this error possible ?










    share|improve this question



























      2












      2








      2








      Samba 3.6.3 on ubuntu 12.04.3 LTS



      clients windows server 2008 R2, 2012



      From windows, On a samba share I am doing
      - open dir1/file

      - write dir1/file

      - close dir1/file

      - rename dir1/file dir2/file-new

      - delete dir1/file



      I am doing rename so the file can get atomically created in dir2/ dir.



      Most of the time it works, but occasionally I get "permission denied" from rename followed by "file in use" from delete.



      I see no errors in the smb.* logs.



      smb.conf has oplocks = false



      Is there anything in the SMB protocol, that would make such infrequent of this error possible ?










      share|improve this question
















      Samba 3.6.3 on ubuntu 12.04.3 LTS



      clients windows server 2008 R2, 2012



      From windows, On a samba share I am doing
      - open dir1/file

      - write dir1/file

      - close dir1/file

      - rename dir1/file dir2/file-new

      - delete dir1/file



      I am doing rename so the file can get atomically created in dir2/ dir.



      Most of the time it works, but occasionally I get "permission denied" from rename followed by "file in use" from delete.



      I see no errors in the smb.* logs.



      smb.conf has oplocks = false



      Is there anything in the SMB protocol, that would make such infrequent of this error possible ?







      samba






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      jelmer

      1314




      1314










      asked Sep 14 '17 at 11:33









      boo9boo9

      164




      164






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f392190%2fsamba-share-file-write-close-rename-permission-denied%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f392190%2fsamba-share-file-write-close-rename-permission-denied%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...