> Hi, > > While trying to figure out why Tracker wasn't save/restoring the > desktop shelf properly (BShelf doesn't currently archive itself > properly), I also noticed that tracker_shelf is created with some > very > strange looking flags. > close(open(path.Path(), O_RDONLY | O_CREAT)); It's just the random value that is on the stack when open(, O_CREAT, < noarg>) is called... it is supposed to be called with an extra int arg giving the permissions to apply when creating a file when the O_CREAT file is set. close(open(path.Path(), O_RDONLY | O_CREAT, 0644)); should do. François.