This commit is contained in:
Aaron Lindsay 2013-08-29 07:38:55 -04:00
parent 78bfae8005
commit 47c785b4d3
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ func main() {
//make sure config file's permissions are read-write only for the current user
if !util.FileExistsAndHasPermissions(globals.configFileName, 384 /*0b110000000*/) {
fmt.Println("Error: Either the file at "+globals.configFileName+" doesn't exist, or it doesn't have permissions such that the current user is the only one allowed to read and write.")
fmt.Println("Error: Either the file at " + globals.configFileName + " doesn't exist, or it doesn't have permissions such that the current user is the only one allowed to read and write.")
return
}

View File

@ -29,7 +29,7 @@ type Event struct {
Timestamp int64
Permissions os.FileMode
Username string
Sharename string //TODO start differentiating between a users' different shares
Sharename string //TODO start differentiating between a users' different shares
LocalStatus EventStatus `json:"-"`
LocalId int64 `json:"-"`
InDB bool `json:"-"` //defaults to false. Omitted from json marshalling.