0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2000, 2001, 2004, 2005, 2007, 2012, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/* $Id: fsaccess_test.c,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
f83542787f882444d2abf9fcaf47a34c29e4fec2Mark Andrews fprintf(stderr, "unable to remove(%s)\n", PATH);
f83542787f882444d2abf9fcaf47a34c29e4fec2Mark Andrews fprintf(stderr, "unable to fopen(%s)\n", PATH);
f83542787f882444d2abf9fcaf47a34c29e4fec2Mark Andrews if (n != 0) {
f83542787f882444d2abf9fcaf47a34c29e4fec2Mark Andrews fprintf(stderr, "unable chmod(%s, 0)\n", PATH);
a904de0bc85cc3974a87a32deedb69d6a68ec36cDavid Lawrence isc_fsaccess_add(ISC_FSACCESS_OWNER | ISC_FSACCESS_GROUP,
a904de0bc85cc3974a87a32deedb69d6a68ec36cDavid Lawrence isc_fsaccess_add(ISC_FSACCESS_OTHER, ISC_FSACCESS_READ, &access);
a904de0bc85cc3974a87a32deedb69d6a68ec36cDavid Lawrence fprintf(stderr, "result = %s\n", isc_result_totext(result));