Lines Matching refs:permissions
304 nsLocalFile::CreateAllAncestors(PRUint32 permissions)
335 int mkdir_result = mkdir(buffer, permissions);
406 PRUint32 permissions, PRFileDesc **_retval)
415 result = createFunc(mPath.get(), flags, permissions, _retval);
421 * Ancestor directories get the same permissions as the file we're
423 * an R bit in the original permissions. If you want to do anything
426 int dirperm = permissions;
427 if (permissions & S_IRUSR)
429 if (permissions & S_IRGRP)
431 if (permissions & S_IROTH)
435 fprintf(stderr, "nsIFile: perm = %o, dirperm = %o\n", permissions,
445 result = createFunc(mPath.get(), flags, permissions, _retval);
452 nsLocalFile::Create(PRUint32 type, PRUint32 permissions)
458 permissions,
591 // XXX create the new directory with some permissions
649 // get the dirs old permissions
773 // get the old permissions
777 // Create the new file with the old file's permissions, even if write
1016 * Only send back permissions bits: maybe we want to send back the whole