FAO : Cyberface/Learner
Discussion
Got an annoying problem that I hope you can shed some light on.
I've just bought a new iMac to replace one of my Minis as my working machine. However, the Mini in question also runs my music library server (Squeezeboxes) so when setting up the iMac I used the built-in transfer function to transfer all my user data from the Mini to making setting up simpler.
All worked fine (apart from a couple of minor niggles).
However, I've developed a rather wierd problem. It involves copying files from the iMac to the Mini over the network. Sometimes the copy will instantly fail saying "You do not have sufficient privileges" or sometimes the file will start to copy and then, say, half-way through it will fail with the same error message and then sometimes (or not) leave a partial file on the destination which you cannot delete through the finder alone (have to terminal->sudo rm etc.)
Some searching turned up a connected thread on Apple's site (last few posts are probably most pertinent);
http://discussions.apple.com/thread.jspa?messageID...
What a couple of guys are suggesting is that duplicating a user from one machine to the other throws up permissions issues. I'm in the same situation having duplicated my account from the Mini to the iMac so it's my fear that they are on to something here. Problem is, I don't know what to do fix it? I'm thinking that if I create a temp (admin) user, log in with that, then delete my duplicated user account, then create a new user but with the same name then the issue will be resolved but wanted to get your opinion before rolling up my sleeves and jumping in.
It's actually a wider problem than just the two machines as I have another even older Mini that is exhibiting the same problem but thinking back, it's likely that the original user account was created on that machine, migrated to the new Mini then migrated to the iMac.
Thanks,
Neil
I've just bought a new iMac to replace one of my Minis as my working machine. However, the Mini in question also runs my music library server (Squeezeboxes) so when setting up the iMac I used the built-in transfer function to transfer all my user data from the Mini to making setting up simpler.
All worked fine (apart from a couple of minor niggles).
However, I've developed a rather wierd problem. It involves copying files from the iMac to the Mini over the network. Sometimes the copy will instantly fail saying "You do not have sufficient privileges" or sometimes the file will start to copy and then, say, half-way through it will fail with the same error message and then sometimes (or not) leave a partial file on the destination which you cannot delete through the finder alone (have to terminal->sudo rm etc.)
Some searching turned up a connected thread on Apple's site (last few posts are probably most pertinent);
http://discussions.apple.com/thread.jspa?messageID...
What a couple of guys are suggesting is that duplicating a user from one machine to the other throws up permissions issues. I'm in the same situation having duplicated my account from the Mini to the iMac so it's my fear that they are on to something here. Problem is, I don't know what to do fix it? I'm thinking that if I create a temp (admin) user, log in with that, then delete my duplicated user account, then create a new user but with the same name then the issue will be resolved but wanted to get your opinion before rolling up my sleeves and jumping in.
It's actually a wider problem than just the two machines as I have another even older Mini that is exhibiting the same problem but thinking back, it's likely that the original user account was created on that machine, migrated to the new Mini then migrated to the iMac.
Thanks,
Neil
Some more info.
I booted up Netinfo Manager on all the machines and check the details of my user account (same name on all).
On the Mini in question and the iMac, the "generateduid" and "naprivs" are identical. But on the two other machines I have (MacBook and older Mini), despite having the same login name on all four, these two have unique enteries for "generateduid" and "naprivs".
Could this be the problem?
Oh, meant to add to the first post that it's not all files that have the copying problem. Seems that any files that existed on the Mini before migrating to the iMac copy fine. It's just newly created/downloaded files on the iMac that have issues when copying to the Mini.
I booted up Netinfo Manager on all the machines and check the details of my user account (same name on all).
On the Mini in question and the iMac, the "generateduid" and "naprivs" are identical. But on the two other machines I have (MacBook and older Mini), despite having the same login name on all four, these two have unique enteries for "generateduid" and "naprivs".
Could this be the problem?
Oh, meant to add to the first post that it's not all files that have the copying problem. Seems that any files that existed on the Mini before migrating to the iMac copy fine. It's just newly created/downloaded files on the iMac that have issues when copying to the Mini.
Mac's aren't really my area, but.... on the mini I'd poke at the external HDD and do the equivalent of 'chmod -c -R 777 *' It could be you're trying to copy a file with superuser privileges or something similar.
And if you do want to chmod, open Terminal and cd to the drive, then quite literally it's as above.
And if you do want to chmod, open Terminal and cd to the drive, then quite literally it's as above.
The Dude said:
mystomachehurts said:
Plotloss said:

Are you waiting in the wings on your white horse or sumfing?
Ignore him.
Also, you're a bit brusque, turtleneck a bit tight?
The Dude said:
mystomachehurts said:
Plotloss said:

Are you waiting in the wings on your white horse or sumfing?
The Dude said:
Ignore him.
As you like 
Sorry - bit late to this one.
External drives can be configured to ignore permissions, which may be the cause of your problem (particularly if the metadata on the original external drive has different unix UIDs but the same name in NetInfo).
In the Finder, option-click / right-click / whatever on the external mounted Volume, and select Get Info. There should be a tickbox at the bottom entitled 'ignore permissions on this volume' - if this is OK for you (on the external drive, it's wise anyway because of the aforementioned problem when sharing external drives between OS installations with different local user UIDs) then make sure this is ticked.
Secondly, after this has completed (I'm not exactly sure whether it does a simple chmod -R 777 / as Sarah suggested above, or whether it instructs the filesystem kext to operate differently - if it's doing a chmod in the background then you'll spot it because it will take some time), I'd run Disk Utility and then repair permissions on your boot volume. It's voodoo but if there's stuff copied across from a different install then it can be of use.
I've seen this from time to time when the above conditions were met - sometimes processes can hold locks on files and you get the error spuriously - using lsof, grep and kill are your friends here. But I reckon the above is worth checking.
External drives can be configured to ignore permissions, which may be the cause of your problem (particularly if the metadata on the original external drive has different unix UIDs but the same name in NetInfo).
In the Finder, option-click / right-click / whatever on the external mounted Volume, and select Get Info. There should be a tickbox at the bottom entitled 'ignore permissions on this volume' - if this is OK for you (on the external drive, it's wise anyway because of the aforementioned problem when sharing external drives between OS installations with different local user UIDs) then make sure this is ticked.
Secondly, after this has completed (I'm not exactly sure whether it does a simple chmod -R 777 / as Sarah suggested above, or whether it instructs the filesystem kext to operate differently - if it's doing a chmod in the background then you'll spot it because it will take some time), I'd run Disk Utility and then repair permissions on your boot volume. It's voodoo but if there's stuff copied across from a different install then it can be of use.
I've seen this from time to time when the above conditions were met - sometimes processes can hold locks on files and you get the error spuriously - using lsof, grep and kill are your friends here. But I reckon the above is worth checking.
cyberface said:
Sorry - bit late to this one.
External drives can be configured to ignore permissions, which may be the cause of your problem (particularly if the metadata on the original external drive has different unix UIDs but the same name in NetInfo).
In the Finder, option-click / right-click / whatever on the external mounted Volume, and select Get Info. There should be a tickbox at the bottom entitled 'ignore permissions on this volume' - if this is OK for you (on the external drive, it's wise anyway because of the aforementioned problem when sharing external drives between OS installations with different local user UIDs) then make sure this is ticked.
Secondly, after this has completed (I'm not exactly sure whether it does a simple chmod -R 777 / as Sarah suggested above, or whether it instructs the filesystem kext to operate differently - if it's doing a chmod in the background then you'll spot it because it will take some time), I'd run Disk Utility and then repair permissions on your boot volume. It's voodoo but if there's stuff copied across from a different install then it can be of use.
I've seen this from time to time when the above conditions were met - sometimes processes can hold locks on files and you get the error spuriously - using lsof, grep and kill are your friends here. But I reckon the above is worth checking.
External drives can be configured to ignore permissions, which may be the cause of your problem (particularly if the metadata on the original external drive has different unix UIDs but the same name in NetInfo).
In the Finder, option-click / right-click / whatever on the external mounted Volume, and select Get Info. There should be a tickbox at the bottom entitled 'ignore permissions on this volume' - if this is OK for you (on the external drive, it's wise anyway because of the aforementioned problem when sharing external drives between OS installations with different local user UIDs) then make sure this is ticked.
Secondly, after this has completed (I'm not exactly sure whether it does a simple chmod -R 777 / as Sarah suggested above, or whether it instructs the filesystem kext to operate differently - if it's doing a chmod in the background then you'll spot it because it will take some time), I'd run Disk Utility and then repair permissions on your boot volume. It's voodoo but if there's stuff copied across from a different install then it can be of use.
I've seen this from time to time when the above conditions were met - sometimes processes can hold locks on files and you get the error spuriously - using lsof, grep and kill are your friends here. But I reckon the above is worth checking.
The Dude said:
However, I've developed a rather wierd problem. It involves copying files from the iMac to the Mini over the network. Sometimes the copy will instantly fail saying "You do not have sufficient privileges" or sometimes the file will start to copy and then, say, half-way through it will fail with the same error message and then sometimes (or not) leave a partial file on the destination which you cannot delete through the finder alone (have to terminal->sudo rm etc.)
I'm assuming your network is wired?When doing file transfers via my old netgear router, I used to get very weird errors at random times, which turned out to be the wireless on the router having a fit every few minutes. Not enough to notice in general use, but enough drop a file transfer or corrupt a file.
trooperiziz said:
The Dude said:
However, I've developed a rather wierd problem. It involves copying files from the iMac to the Mini over the network. Sometimes the copy will instantly fail saying "You do not have sufficient privileges" or sometimes the file will start to copy and then, say, half-way through it will fail with the same error message and then sometimes (or not) leave a partial file on the destination which you cannot delete through the finder alone (have to terminal->sudo rm etc.)
I'm assuming your network is wired?When doing file transfers via my old netgear router, I used to get very weird errors at random times, which turned out to be the wireless on the router having a fit every few minutes. Not enough to notice in general use, but enough drop a file transfer or corrupt a file.
cyberface said:
trooperiziz said:
The Dude said:
However, I've developed a rather wierd problem. It involves copying files from the iMac to the Mini over the network. Sometimes the copy will instantly fail saying "You do not have sufficient privileges" or sometimes the file will start to copy and then, say, half-way through it will fail with the same error message and then sometimes (or not) leave a partial file on the destination which you cannot delete through the finder alone (have to terminal->sudo rm etc.)
I'm assuming your network is wired?When doing file transfers via my old netgear router, I used to get very weird errors at random times, which turned out to be the wireless on the router having a fit every few minutes. Not enough to notice in general use, but enough drop a file transfer or corrupt a file.
mystomachehurts said:
TheLearner said:
I am root and I'm reading your e-mail. 
So you caught the one from shiiagothic then... Damn... And I was trying to keep that one secret!
sits back and laughs whilst everyone googles shiiiagothic
Damn, there goes my blackmail opportunity
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff




