prog: (khan)
prog ([personal profile] prog) wrote2004-10-13 01:48 pm

(no subject)

A stupid Unix question:

So there's this directory that I own.

Sometimes a little daemon comes by and writes files and directories inside it. These belong to the daemon.

I want to be able to blow these files away at my leisure. All attempts to rm them result in permission errors. (Note that my desires are distinct from wanting to prevent the daemon from writing to the directory, which I don't. Want to prevent. The.)

Am I wrong in thinking that this should be somehow possible?

[identity profile] temvald.livejournal.com 2004-10-13 11:16 am (UTC)(link)
if you have write permission in the directory you should be able to delete files that are not owned by you. unless, of course, you have the sticky bit set. but a simple 'chmod -t .' should remove that.

jadelennox: Senora Sabasa Garcia, by Goya (liberrian)

I need a geek icon

[personal profile] jadelennox 2004-10-13 01:55 pm (UTC)(link)
Mmm, sticky bits.