Lines Matching refs:p_path
109 (void)unlink(to.p_path);
110 if (link(entp->fts_path, to.p_path)) {
111 warn("%s", to.p_path);
139 (void)fprintf(stderr, "overwrite %s? ", to.p_path);
150 lstat(to.p_path, &sb) : stat(to.p_path, &sb);
152 warn("stat: %s", to.p_path);
158 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
160 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
168 (void)unlink(to.p_path);
169 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
174 warn("%s", to.p_path);
190 fi.to = to.p_path;
223 warn("%s", to.p_path);
244 warn("%s", to.p_path);
259 warn("%s: error copying extended attributes", to.p_path);
284 warn("%s", to.p_path);
288 warn("%s", to.p_path);
293 warn("%s", to.p_path);
297 if (pflag && set_utimes(to.p_path, fs)) {
314 if (exists && unlink(to.p_path)) {
315 warn("unlink: %s", to.p_path);
318 if (symlink(target, to.p_path)) {
328 if (exists && unlink(to.p_path)) {
329 warn("unlink: %s", to.p_path);
332 if (mkfifo(to.p_path, from_stat->st_mode)) {
333 warn("mkfifo: %s", to.p_path);
342 if (exists && unlink(to.p_path)) {
343 warn("unlink: %s", to.p_path);
346 if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) {
347 warn("mknod: %s", to.p_path);
379 lchown(to.p_path, fs->st_uid, fs->st_gid)) {
381 warn("chown: %s", to.p_path);
386 if (fd ? fchmod(fd, fs->st_mode) : lchmod(to.p_path, fs->st_mode)) {
387 warn("chmod: %s", to.p_path);
403 chflags(to.p_path, fflags)) == -1)
405 warn("chflags: %s", to.p_path);
410 if (fd == 0 && set_utimes(to.p_path, fs))
428 warn("fpathconf(..., _PC_ACL_NFS4) failed for %s", to.p_path);
438 to.p_path);
447 warn("failed to get acl entries while setting %s", to.p_path);
451 warn("acl_is_trivial() failed for %s", to.p_path);
460 warn("failed to set acl entries for %s", to.p_path);