Bug #788
savecore -f should work on read-only files
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2011-03-09
Due date:
% Done:
0%
Estimated time:
Difficulty:
Tags:
Gerrit CR:
Description
~$ savecore -f /export/scratch/vmdump.0 crash savecore: open("/export/scratch/vmdump.0"): Permission denied
Again, with truss, shows:
open("/export/scratch/vmdump.0", O_RDWR|O_DSYNC) Err#13 EACCES [file_dac_write]
There's no good reason to open the dump RDWR when we're reading it from a file, and have no reason
to clear the valid bit.
Updated by Rich Lowe almost 10 years ago
- Status changed from New to Rejected
Looks like I got faked out by the unexpected antiquity of the machine I was on.