diff options
author | dg <dg@FreeBSD.org> | 1995-05-15 07:31:09 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-15 07:31:09 +0000 |
commit | 4c12c11b834683a92600a2ef20fabca71b3448ef (patch) | |
tree | 6bf4d630323ece25133820e140a3720019ec8528 /sbin/mount_ifs | |
parent | 249601e430867deecbd2c883f63602500005eaba (diff) | |
download | FreeBSD-src-4c12c11b834683a92600a2ef20fabca71b3448ef.zip FreeBSD-src-4c12c11b834683a92600a2ef20fabca71b3448ef.tar.gz |
From Bruce Evans:
I ran into another manifestation of the problem reported in PR 211 and
fixed it. Try this:
as non-root:
cd /tmp; mkdir x y x/z
as root:
chown root /tmp/x/z
as non-root:
cd /tmp/x; mv z ../y # EACCES as expected
as root:
cd /tmp/x; mv z ../y # EINVAL NOT as expected
This is because ufs_rename() sets IN_RENAME and fails to clear it.
Reviewed by: davidg
Submitted by: bde
Diffstat (limited to 'sbin/mount_ifs')
0 files changed, 0 insertions, 0 deletions