Skip to content

Commit 54b879f

Browse files
committed
Change default file creation permissions to 0664.
1 parent f1dfeaf commit 54b879f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ cupsJSONExportFile(
189189
return (false);
190190

191191
// Create the file...
192-
if ((fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0)
192+
if ((fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0664)) < 0)
193193
{
194194
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0);
195195
free(s);

0 commit comments

Comments
 (0)