Link to home
Start Free TrialLog in
Avatar of Techdivision
Techdivision

asked on

Mac OS X Server cant overwrite old files

I am currently having some issues with Mac OSX Server on my mac mini. What happened is yesterday a few users were randomly deleted or at least they disappeared somehow. then today we cant overwrite files that are on an external drive that is shared out using file share. We can however create new files on the server and then edit them.
ASKER CERTIFIED SOLUTION
Avatar of Eoin OSullivan
Eoin OSullivan
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Techdivision
Techdivision

ASKER

Thanks for your response Eoin I have just tried giving everyone read and right permissions and then propagating it down to all subfolders. At the moment it has made no changes still getting all the same errors.
OK .. then you might have file ownership permissions also in play

Just to be clear you've an external USB or FireWire or Thunderbolt Hard Drive connected directly to the MacMini.
The MacMini has OSX Server installed and you have User Accounts setup on it using Apple Open Directory
The shared folders and files on the external drive were created or owned by the user accounts which were recently deleted.

If you do a GET INFO on one of these problem files what user and group are set as the owner?

Can you try changing the owner and group on one file to match that of some other file which is working for your users .. if that works then you'll need to do a bulk chown or chgrp on all the affected files to resolve it as simple read write permissions may not be enough.
That is correct yes. I have tried setting the owner to be the admin user and that appears to make no difference. I have also tried explicitly setting each individual user to have read and write permissions, and this appears to make no difference so it's starting to look like it isn't a permissions issue but then I'm not sure what else could be causing it.
Have you tried trying to overwrite files on a different external drive?
On the server, copy the file to a new file.  Delete the old file.  Rename the file.
okay right sorry for the delay but here is an update on what has/is happening to the server. I managed to get the permissions to work in the end, where the users had been deleted it had left just a string of random characters in the permissions which was then causing conflict with the newly created users, so deleted those strings from permissions that's that problem sorted.

Then we had to replace something in the network so the server was properly shutdown work was done and then server started back up. We then had an issue where only the owner had read/write permissions but the group with everyone else in it only had read permissions. Can anyone shine any light on what is happening?