[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Easy (?) permissions question



Okay... here's a (probably) easy one for you sysadmin types.

I try writing a temp file to /tmp as root.  First I set the "umask".
I do it like:
	umask 000
	touch /tmp/fred

so that the permissions on "fred" look like -rw-rw-rw-.

Then I log in as "charlie" and try to delete the file using:
	cd /tmp
	rm fred

BUT... I can't do it.  Why not?

When I look at the "." file in /tmp, the permissions look like
"drwxrwxrwt".  I'm guessing that the last "t" is doing something nasty
to me (but yes, probably something I'd want in real life, I know).  8-)

So... why can't I delete the file as "charlie"?

Thanks,
Charlie
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.