renameTo function & Somba
I have a question and I appologize if this has been answered somewhere already.
Set up:
I have a unix box set up with samba (version 3.0.23a I think) and I've mounted a directory that's located on a windows box running Windows XP. My java program is running in unix. It is running as a specific user. The root user used Samba to mount the windows directory.
Problem:
Inside of my java program I use the renameTo command to move a pdf file that's located on the unix box over to the directory being mounted on Samba. The renameTo returns a false & is unable to move the file.
When I move the file manually on the command line using the mv command I get two alerts talking about that the mv command is unable to preserve modification time and it is unable to set permissions. But the file still moves. Can anyone help?
Thanks,
Josh

