If feasible try copying the file again but allow it to go to completion. Most likely you will be asked if it''s OK to replace a file of the same name to which you should answer, 'Yes.'
If that doesn't work then you might try restarting the computer and the NAS then see if you are able to remove the file. Turn them both off before restarting.
Thanks for your reply!
Unfortunately I had already tried restarting all 3 of my computers that I've been trying this with and my NAs before posting to the forum.
I also tried to copy across the file again, but it reports that "The operation can’t be completed because you don’t have permission to access some of the items."
Just in case this helps, I originally saved the file to my computer from the Internet, and then copied it across to my NAS from there. I then stopped the copy mid-way because I decided I no longer wanted the file there. It then gave me the error code -8072, and since then I have renamed the file several times in order to try and delete, but still to no avail. Unfortunately I can't remember the original file name (it was something nasty as often downloads are from the Web).
If you have any other suggestions, please fire away!
Can you determine what the file's permissions are? Both the original and whatever scrap of it is on your NAS. If you don't have permission for the operation then it means either the file's permissions need to be changed and/or the NAS' permissions. Do you know how to change permissions using the Get Info window? I assume you know how to use the Terminal. You tried removing the file already, but did you precede the command with 'sudo'? See the following:
sudo rm -rf /pathto/filename
I have tried looking at this, and the permissions for the "scrap" of the file left are "custom" for the users "everyone." How unhelpful is that!
I no longer have the original file, as it was not the correct version of MySQL for my needs, hence I deleted it and emptied the Trash. I've also tried checking the NAS drive's permissions and both read & write are enabled. (If this helps at all, it's a Buffalo LinkStation Pro, formatted as XFS).
I do know how to change permissions for files using the Get Info window, but every time I try adding my User name to the list of users with specific permissions for the file it says that I have entered an invalid user name. (I am trying this with my shortname - do I need to use the full name of the account instead?).
As for the Terminal command, I have just tried it now, and it still returns the error message that permission is denied.
Thanks again for your help!
The permissions on the NAS just say that "everyone" has "custom" permissions, and I can't change the permissions from that.. It's really frustrating!
I'm afraid I know nothing about XFS either - too far into the world of Linux for me!
It seems I might have to do a complete reformat of the disk at this rate if I want to get rid of this folder.. Permissions really can get on my nerves!
Thanks again for your help.
If your NAS is running Linux, then either it's a Linux issue or the files have the wrong permissions while still on your Mac. If this be the case, then you can fix them, then try moving them to the NAS. If it's a Linux issue then I'm at a loss as to how to fix that on the NAS since the OS is in firmware on the NAS. I don't know how you access it, but most likely the tech support of its manufacturer should know.
Does the NAS support AFP? If so then I would reconfigure it to use AFP which is compatible with the Mac.
I think I will try their customer support tomorrow - good idea!
I have set up the NAS so that it uses AFP, FTP and SMB so that all bases are covered (I've still got to have one Windows PC on the network to keep the parents happy!). But from what you've said, I think I would agree that it is a Linux issue, as I have never had this problem with HFS+ drives (or NTFS/FAT32 drives for that matter).
I access the drive via Gigabit Ethernet (it is plugged into the same switch as my Mac), and then I use the web browser to access settings and so on. This doesn't seem to give me access to specific files however - I manage the files from within Finder/Windows Explorer.
Not a problem, I guess it's just one of those "1 in a million issues" that just creep up on you occasionally.
I spoke to Buffalo and they weren't sure how to solve the problem either. Looks like it's gonna have to stay on the drive for the time being, or I'll have to re-do the drive completely at some point.
Thanks for your continued support.
Make that 2 in a million! I have a Buffalo Linkstation Mini and just encountered this problem trying to access my iTunes library on the NAS.
'The operation can’t be completed because an unexpected error occurred (error code -1407).'
Everything was working fine yesterday running firmware 1.31, updated to firmware 1.34 on the Linkstation Mini yesterday and I seem to have this problem.
Only other thing I've done is update to iTunes 10 but as your problem isn't related to iTunes I'm inclined to think it's the Linkstation that is the problem.
Do let me know if you have any joy fixing this...