Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 261145
Collapse All | Expand All

(-)src/gpart.c (-1 / +1 lines)
Lines 1221-1227 Link Here
1221
{
1221
{
1222
	int		fd, ret = 0;
1222
	int		fd, ret = 0;
1223
1223
1224
	if ((fd = open(bfile,O_WRONLY|O_CREAT)) < 0)
1224
	if ((fd = open(bfile,O_WRONLY|O_CREAT,0644)) < 0)
1225
		return (ret);
1225
		return (ret);
1226
1226
1227
	if (write(fd,d->d_pt.t_boot,512) == 512)
1227
	if (write(fd,d->d_pt.t_boot,512) == 512)

Return to bug 261145