Messages in this thread | | | Date | Thu, 17 Jun 1999 10:56:40 -0400 | From | Arvind Sankar <> | Subject | Re: Odd filesystem permission handling |
| |
On Thu, Jun 17, 1999 at 10:19:04AM -0400, Mike A. Harris wrote: > Logged in as user "mharris" and in my home dir, I had a dir > called "down" owned by root.root with perms 755. > > This dir had files in it. > > As "mharris" I tried to chown the dir to mharris.mharris, and I > got permission denied. I then tried "rm -rf down/" also as > mharris, and it successfully let me remove the directory. >
It doesn't on 2.2.10: $ ls -ld 1 drwxr-xr-x 2 root root 4096 Jun 17 10:52 1 $ ls -l 1 total 0 -rw-r--r-- 1 arvind arvind 0 Jun 17 10:52 1 -rw-r--r-- 1 arvind arvind 0 Jun 17 10:52 2 $ rm -fr 1 rm: cannot unlink `1/1': Permission denied rm: cannot unlink `1/2': Permission denied rm: cannot remove directory `1': Directory not empty
-- arvind
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |