Samba 4: users unable to move files from compressed folder to Samba share

I have recently upgraded Samba 3.6.x from Centos 6.6 to Samba 4.1.12 on Centos 7.The shares were migrated in place. I reset permissions and Windows ACLs according to the Samba 4 Wiki.
When a user opens a compressed folder (a.k.a. Zip file) on Windows 7, then tries to copy the files into a shared folder on the Samba 4 server using drag & drop, only one to four files is actually copied, and the copy process silently fails. If the user waits about 2 minutes, then they can move all of the files without issues. Also, if the user is able to copy all files, when they try to delete the newly created folder they get an error: Thumbs.db cannot be deleted because it is open in Windows Explorer.
So, the root of the cause seems to be Windows Explorer locking files for too long. But I don't understand this enough to fix it.
No errors appear in the...
This topic first appeared in the Spiceworks Community

"admiz" should be the account name anyway.
When you do a Get Info on that in the Finder... what is locked, & Rights say?

Similar Messages

  • How do I move files from one folder to another?

    On my MacBookPro I am trying to move files from one folder to a BSB drive.  I can copy, but I do not want the files left in the original location.  What do I do?
    J W

    Press the Command key while dragging them.
    (58054)

  • Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?

    Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?  The cut and paste function is not available and there's no "move to" function.  Am I missing something?  It was so easy with Windows.

    Drag the files, or press Option when pasting them; this accesses the Move To function.
    (124070)

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • Move files from one folder to another javascript?

    I am running a 3-action droplet automatically using windows task scheduler.  Here are the 3 steps:
    1.    Batch file to move files from hot folder to processing folder
    2.    Run IPP (dr brown's image processor pro) using preloaded settings to make several sizes copies of the files.
    3.    Bat file to move the files from processing folder to archive folder.
    The problem I am observing is that Step 1 works and IPP begins to run.  It only processes the first few images, and then moves on to the 3rd step where the bat file is ran to move all files from processing folder to archive folder.   The trouble is, only a few images were processes (about 10 or so), yet all of the images get moved to the archive without being processed.  Is there a way to make sure that step 2 (IPP) doesn’t begin until all files have successfully been moved from the hot folder to the processing folder?  IPP starts right away and files are still being transferred to the processing folder.
    Does anyone have a script that will move files from one folder to another? 

    I'm sure I have see a way to close down Photoshop in a Photoshop script.  I never had the need to.  It may be a simple statement like app.close(); I don't know javascript and only hack Photoshop script mostly by looking at others code.  app.close(); is a guess on my part. Let me try it. I was wrong its photoshop.quit();
    So make your MoveToArchive.jsx look something like this
    try{
       var BAT = new File(Folder.temp + "/MoveFilesToArchive.bat");
       BAT.open("w");
       BAT.writeln('Copy /Y "c:\\Process\\*.jpg" "c:\\Archive\\*.*"');
       BAT.writeln('Del "c:\Process\\*.jpg"');
       BAT.close();
       BAT.execute();   // execute the temp bat file
    }catch(e){
    alert("Bat MoveFilesToArchive  failed to execute.");
    photoshop.quit();

  • Why can't i move files from one folder to another by sliding them?

    help. i am trying to move files from one folder to another. but i cant slide them by clicking on a file and sliding it to another place. any suggestions? thank

    Go to Finder "Go" menu hold the option key and choose Library. Then go to Preferences trash these files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then, restart, or log out and in again.
    (You will have to reset a few finder prefs the way you like them.)

  • Move files from one folder to another

    I am brand new to the application and have spent a ton of time googling various topics, but need some additional help. Seems easy enough, but I can't figure out how to do it...
    I would like to move pics from one folder to another. I can drag files from one folder to another, but they still reside in the original folder as well. Is there a way to cut and paste or a similar function to accomplish this move?
    Thanks.

    Hey, HawaiianHaole, as a multidecade Mac user, let me tell you, Aperture is about the worst example of Mac-iness one could imagine. Ironic, as it's (of course) made by Apple. But it is so inflexible, and insists so vociferously on making the user learn its peculiar interface conventions it reminds me most of something out of that famous company in Redmond.
    Want your Projects in an order you choose? Sorry! Want to arrange your windows so you can see your list of chat buddies while you're working in Aperture? Nope, can't do it! Aging eyes have trouble reading tiny grey type on a grey background? Hey buddy, it was your choice to grow old, don't blame us!
    But all is not lost. Aperture has gotten considerably better of late (versions up to 2.0 were fundamentally unusable in many ways) and will hopefully continue to improve. (ie Maybe they'll fix the printing thing...)
    Please don't make Aperture the basis for your judgement of the Mac OS. Many long time Mac users are having as much trouble with Aperture as you. Mac OSX has significantly reduced customizability but at the benefit of much improved stability and indeed usability. Old school Mac users had to learn to accept this, which most did. You'll hear people talk about the "Way of the Steve". As irksome as Aperture can be, you'll actually have a better time of it if you adopt the Way of the Steve, and accept that you can't do things the way you might want to. This is imho antithetical to the original Mac many of us knew and loved, but it's the way things are today, so we mostly shut up and take it. You can fight with your software all day, or just accept that there are ways you have to adopt and adapt to them.
    Welcome to the Bright Side, hope your Mac experience improves.

  • I suddenly can't move files from one folder to another in my FlashHelp project.

    I have RH8 (8.02). I have been working on this project for a couple of years now.
    What changed? I had imported a Word document and then removed the document and the folder it created from the Project Manager. Now I cannot move any of my files from one folder to another in the Project Manager pod. I susptected a corrupt CPD file so I closed the project, deleted the CPD file. Next I opened Robo from Programes (I never open from the .xpj file), went to Tools>Options and deleted the pinned most recently used project. Select Open, and locate/open the xpj file. I've also re-generated the output (no errors) and completed all these steps again. Of course Robo only goes haywire on me right before I have to publish for our new software release.

    Hi there
    From what I'm seeing my own guess here is that RoboHelp is still believing that the content belongs to word.
    I might suggest the following steps.
    Open Winows Explorer and make copies of the HTML files involved. Then from RoboHelp, delete or remove the content. Then use the Import function to add the desired HTML files back into the project into the desired folder.
    My thought is that by taking these steps you will have effectively disassociated Word and the topics should now be independent topics that RoboHelp should allow you to manage as you wish.
    Hope you get it sorted... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Unable to Copy File From Terminal Server to Client Share

    Hi
    For years client have been able to copy files from our Windows 2003 Terminal Server to their local workstation using:
    copy myfile \\tsclient\mydrive\myfolder
    However we upgraded to Windows 2012 Server R2 and now Windows 7 Pro clients cannot copy files.  The copy function creates the file name in their local folder but no content is sent after maybe 20 minutes or so the copy function times out and they get an
    error message saying that the application was unable to write to the file.  I have tried this function with my Windows 8.1 workstation and the file copies properly and it works fine for older Windows XP clients.  Does anyone know why Windows 7 clients
    are experiencing this issue.
    Thanks
    Simon

    Hi Simon,
    Initially please use latest RDP version 8.1 for windows 7 and check result. 
    What’s the file size which you are copying?
    Does this happens for all users and on all computers?
    You can try below method might resolve your case.
    1. Login to remote computer using Remote Desktop (RDP). 
    2. Open Task Manager in the remote machine
    3. Click the "Process" tab
    4. Locate a program called "rdpclip.exe"
    5. Right click and select "End process" to kill this program
    6. Click on "File" menu in the task manager and select "New Task (Run)"
    7. Type rdpclip.exe and press the button to start the process.
    By killing existing instance of the rdpclip.exe and restarting the program, you can get your copy paste work again in your remote desktop.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • FTP-File : move file from a folder to another

    Hi experts,
    Here is the deal :
    I have a FTP folder (OS windows) where my files are stored. As I want XI to pick them one by one, I need a way to move them one by one in another folder of the FTP before message processing, folder that will be polled by XI
    How can I do that ?
    more concretly :
    I have 5 files in a folder called Standard, files are named : TEST1_hhmmss.xml, TEST2_hhmmss.xml, etc.
    I have another folder, lets say Standard_child that XI scans every 5 minutes. As I want my 5 files to get picked one by one every 5 minutes, I need a way on the FTP before message processing that moves TEST1_hhmmss.xml in folder Standard_child then XI picks up this file, and so on until all files are consumed.
    Thanks a lots for any help, ive been struggling for days... so far I tried with a script that renames file before, but did not work on FTP...
    Kind regards,
    Jamal

    Hi
    This site may be helpful
    http://www.computing.net/answers/programming/batch-to-move-file-by-sysdate/14939.html
    you can check the net for more answers
    1) make a logic & ensure that ur script works fine in your sender system (where all files will be placed)
    2) you can try it urself if you have access to the systems command prompt
    3) use scheduler, of your sender system (you said it is windows) you can check help to see how you can schedule programs - there call your script.
    4) now your script will send the files to child folder one by one as per your logic, which can be picked by XI
    Regards
    Vishnu

  • Move file from one folder to another

    the instructions in Lightroom say:
    i(Optional) If youre not moving photos to an existing folder, create a
    i new folder.
    i Select a folder in the Folders panel.
    i In the Grid view, select the photos you want to move.
    i Drag the photos to a folder in the Folders panel.
    i The actual photos are physically moved to a different folder on the
    i hard drive.
    Unfortunately I have tried to do this, but it doesn't work. When I try and drag the photo it doesn't move. Anyone have a clue how to do this?
    Tanya

    Yeah that screwed me up too, I kept dragging by the borders and it didnt work =)

  • Unable to move files in Lightroom 4.4

    Very recently I have lost the ability to move files from one folder to another in Lightroom 4.4.  I was highlighting the files I wanted to move and then I would drag them to the folder I wanted to move the files to.  Now if I highlight numerous files when I try to drag the files Lightroom will just highlight the file my cursor is hovering over.  It then won't let me drag the file to the folder I desire.  Please help!  This is putting a serious damper on my workflow!

    Grid mode in Library module, make sure you, click and hold, on the center (not the border) of one of the selected photos. Then drag them to the folder you wish to move them to.

  • Unable to import movie files from iphoto '08 into imovie HD

    I have recently bought a 2008 macbook (2.2 GHz) and have recently downloaded imovie HD in addition to owning iLife '08 due to its extra capabilities. I have found that I am unable to import any of my movie files from my iphoto library folder as it seems to need to open the actual iphoto application before the files can be accessed. In addition, when not using any specific program it would be nice to be able to access my photo/video files within the iphoto folder without iphoto automatically opening as the default viewer.
    Any ideas??!! Thanks.

    ahostmadsen wrote:
    .. and I import AVI video clips directly without converting to .dv, without problems.
    lucky you.. .avi is just a container, no 'format'/codec .. I can show you dozends of .avis, which will NOT import into iMHD6, due to being playback-codecs, not convertable by the underlying Quicktime engine into separte, editable audio+video streams ..
    .. If you convert to .dv, the size just blows up.
    dv is 13GB/h and a codec meant for editing; e.g. it stores every frame (video=30 frams/sec) of a recording, as mpegs usually doesn't do so.. = your Mac has to estimate content, when converting and 'recovering' the content = lossy process.
    iMHD6 is a dv-editor; the mpeg4 feature is only a toy, to spice up iSight recordings.. for sure, the QTengine can convert a lot, but too much conversion (from one lossy codec, e.g. divx, into another, e.g. mp4) means a (dramatic) loss of pic quality..
    my 5€ cents ..

  • Windows Server 2012 R2 RDS: RDS Users are unable to delete files from their desktop

    Hello,
    We are working with Windows Server 2012 R2 RDS. We also implemented User Profile Disks. This is all working fine without problems. The only issue I have is that normal users are unable to delete files from their desktop. They are getting a message:
    you'll need administrator permission to delete this file, with the prompt for administrator access.
    They can edit, copy, rename, cut and paste files. But they cannot delete a file from their desktop.
    I checked the security permissions of the files on the desktop (for example a normal self-created PDF file) and the users are owner and have "Full Control" over the files.
    I checked the file permissions and took a look under "Advanced", selecting the specific domain user and checked the "Advanced Permissions" and the user has the "Delete" option checked. So he should be able to delete the
    file.
    I am guessing this is UPD related issue, or something in GPO. But I already unlinked the GPO objects, that I felt could be the source of this problem, but without results.
    Could someone give me a hint on where to look? It's kinda annoying to users, that they can't delete their own files.

    Hello Bria,
    What you should check first, is the NTFS permissions on the User Profile Disk to begin with. See if the user has full control over the items that are in the UPD.
    Also check the GPO's that are enabled for the user and computer account. You can check that by running: gpresult /h <path>\gpresult.html
    There are two GPO settings that could prevent the user from deleting his/her own items: 
    User
    Configuration\\Policies\\Administrative Templates\\Windows Components\\Windows Explorer\
    Hide these specified drives in My Computer
    Prevent access to specified drives in My
    Computer
    There might be other GPO settings, that block deleting items on the UPD, but can't think of any out of my head.
    I can only think NTFS and GPO settings that might prevent the user from deleting items. In my case it was a GPO setting, that I didn't suspect.

  • How to move all files from a folder for a user to a centralized folder on a core server

    Hello,
    I'm curious if there is a batch file that can be made to move the contents that are setup like this....
    I'm having to redo a TS cluster and I'd like to make a batch file script that can be executed that moves the contents of say 'jsmith's local desktop profile @ \\NGTTS1\users\jsmith to a centralized folder on our roaming desktop profile server that saves
    all of the files for the desktops @ \\NGTFS1\users\jsmith.
    The problem I have is no matter what I tell users to save there files to our Y drive that is a folder that is synced across all 6 of our TS servers, users still store files on there desktops, so as you can imagine if one day they are on one server, then
    next day they could be on another and there files aren't the same.... hence the reason why I want to move all there files to the centralized server so when I redo the profiles from scratch on the TS server in the farm they suck files from the core server and
    have all of the files they are used to having.... 
    Now I know I can do this with a MOVE command I've just never done one to this exact.
    Hopefully someone knows the command to move all the contents of one folder on one server to the folder on a different server. I've already got the bulk of the coding done of the .bat script I just don't know this move command:
    would it be this:
    move \\NGTTS1\users\jsmith *.* \\NGTFS1\users\jsmith
    any help would be appreciated, I'm sure this is a easy command to do!
    This is the coding I have so far....
    @echo off
    color 0A
    title Moving Local Profile folder to Centralized Profile Folder on Core Server.
    :start
    echo Welcome, %USERNAME%
    echo What would you like to do?
    echo.
    echo 1. Moving Local Profile folder to Centralized Profile Folder on Core Server
    echo. 
    echo 0. Quit
    echo.
    set /p choice="Enter your choice: "
    if "%choice%"=="1" goto Move-user-profiles
    echo.
    if "%choice%"=="0" exit
    echo Invalid choice: %choice%
    echo.
    pause
    cls
    goto start
    :Move-user-profiles
    echo.
    set /p profile="Enter user profile: "
    move "\\NGTTS1\users\%profile%" *.* "\\NGTFS1\users\%profile%"
    echo moving files from local profile folder to FS1 profile server, stand-by...
    echo.
    goto cancel-special 
    :cancel-special
    set /p cancel="Type cancel to stop action: "
    if not "%cancel%"=="cancel" exit
    cls
    echo Action is cancelled.
    echo.
    pause
    exit

    In Windows we would do this using Group Policy.  There is a Policy setting that csn move the Desktop folder to any server you want to move it to.  Once set it will automatically do this for you.
    You should post in the Group Policy forum to find out how we use Group Policy to manage users profiles in Windows.
    You cannot use a script to relocate a users Desktop folder.  The desktop is locked by the time the users logon script is finished running.  It the desktop and profile are already being managed by Group Policy then this can only be done with GP.
    There are also numerous issues associated with deployment and re-deployment that you need to address  Post your questions in the Winows Deployment forum to get assistance with deployment issues.
    Again - want you are asking is not generally possible because of how Windows is designed.  This would only likely work on a simple system or on a stand alone PC and then only under a very limited set of circumstances.
    Use GP folder redirection to do this.  For deployment use Deployment Forum and for TS specific issues post in the RDS forum. 
    All of  this needs to be considered correctly for TS users inn a TS Cluster environment. (TS Cluster?? - not sure what you mean by that.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • What went wrong? misuse? abuse?

    ive had my iphone for sometime now, bought it back in june of 2009... had some problems, it was replaced the last time... about a week ago i had been running around from work and other places with no real time to charge my phone, it had gone dead bef

  • I need a Windows-executable widget that.....

    ...toggles the users's Adobe Acrobat program preferences\Internet\Web Browser Options "Display PDF in browser" check box ON or OFF from OUTSIDE of Acrobat...(or, at least, brings up that window, so the user can check/uncheck the box.) Rationale: in a

  • N95 conection problem in Australia

    G'Day People. I just purchased a used N95-1 and have no network conection. I live in rural QLD and I was wondering if this phone is Telstra "Bluetick" compatable?? Any advice would be helpful. I have been told by some friends it should work, so I'm n

  • Microsoft office re-installment

    Hello, my name is Judy Hermosillo, and I recently got a new computer. On my old computer I had Microsoft office, which included, PowerPoint, word, and excel. I was just wondering how I set that up in my new computer, which would be the one im using n

  • Iphoto restored from backup with books created in iPhoto gone

    Anyone have any help? My Mac crashed, but fortunately had backed up my iphoto. Reinstalled now cannot find my books that were created...Need help on it might be the dog bed for me. Thx