JDK-6968095 : Copying privileges suspended on networked drive
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2008
  • CPU: x86
  • Submitted: 2010-07-09
  • Updated: 2012-08-03
  • Resolved: 2011-02-13
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
1.7.0-ea (b99)

ADDITIONAL OS VERSION INFORMATION :
Window 6.0.6001
Mac OSX 10.5.2

A DESCRIPTION OF THE PROBLEM :
Setup:
1) Windows 2008 with a shared folder, containing two subfolders A and B

2)Mac OSX using this shared folder, and placing shortcuts to A and B on the Places Sidebar

Computer #1 is runing the directory watcher example (http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/essential/io/notification.html) on the shared folder.

While the program is running, it's impossible on the Mac to move files from A to B by drag'n'dropping with the mouse. Files can only be COPIED (not moved) from A to B (duplicated by holding Shift-Alt as they're dragged). While the program is running, OSX will ask for the admin password. Once supplied, it will fail to move the files.

As soon as the program is terminated files can be copied normally.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Same as described above.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Files should be in B directory instead of A
ACTUAL -
Files cannot be moved, unless copied.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message. OSX will request admin password, and then fail silently

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/essential/io/notification.html

Downloaded and compiled straight from website
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Copy the files, and delete in original folder to avoid the duplicate

SUPPORT :
YES