Menu

List of error msgs by id#?

Help
nimmolo
2005-03-29
2012-07-11
  • nimmolo

    nimmolo - 2005-03-29

    I can't save over the file i'm trying to edit - the error msg is 5000 but I can't find a list of what that message means.

     
    • Lane Roathe

      Lane Roathe - 2005-03-29

      I can't find anything on an error message 5000, but error -5000 is common:

      Error -5000: Can't save a file

      This is usually a file permission problem. There are two possible causes:

      1) On MacOS X/Darwin, if a file is owned by the account XYZ, and root doesn't have group or world write access to it, root gets errors accessing the file. (This is different from Linux, where root access ignores all file permissions.) If that's the case, you can "chgrp wheel map; chmod g+w map" where map is the actual filename.

      2) Also, the file may be locked. To see the file's locked status, use "ls -lo". You can unlock files with chflags (man chflags).

      So, basically, you don't have access to write to that file. Fixing the access will allow HexEdit to write.

       
      • Lane Roathe

        Lane Roathe - 2005-06-13

        The commands listed above must be run from the unix command line (ie, terminal).

        Because every system is different, I can not produce a step by step guide; doing so could end up rendering your system unusable or vulnerable to attack. I can't justify the risk.

        You can usually, if you have admin privilages, change permissions via the finder's get info feature; try that.

         
    • bimsbrohm

      bimsbrohm - 2005-06-13

      Hi there!

      I'm a HexEdit newbie and have the same problem as nimmolo. After editing a certain file, I can't save (overwrite) it. I get the error message "Can't create file. Bummer". I read your explanations on how to change the file permission. But how do I actually do it? In which OSX application can I change the status? What is "Is - Io"? Can you give me a little step-by-step introducion? Thanks very much!

       

Log in to post a comment.

MongoDB Logo MongoDB