Thread (2 messages) 2 messages, 2 authors, 2015-08-29

Re: [RFC v6 03/40] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

From: Andreas Grünbacher <hidden>
Date: 2015-08-28 21:54:11
Also in: linux-cifs, linux-fsdevel, linux-nfs, lkml

2015-08-28 23:36 GMT+02:00 Andy Lutomirski [off-list ref]:
Silly question from the peanut gallery: is there any such thing as
opening an fd pointing at a file such that the "open file description"
(i.e. the struct file) captures the right to delete the file?

IOW do we need FMODE_DELETE_SELF?
When would that permission be checked, what syscall would you use to
unlink an open file descriptor?

Thanks,
Andreas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help