Messages in this thread | | | Date | Wed, 5 Oct 2005 10:44:41 -0400 | Subject | Re: what's next for the linux kernel? | From | (Lennart Sorensen) |
| |
On Wed, Oct 05, 2005 at 07:41:21AM -0700, Marc Perkel wrote: > If you were going to do it right here's what you would do: > > People who had files in /tmp would have no rights at all to other users > /tmp files. > Listing the dirtectory would only display the files you had some access > to. If you have no rights you don't even see that the file is there. > The effect would be like giving people their own tmp directories.
Except it still wouldn't be able to go: Does file xyz exist? If not, create file xyz. If someone else had xyz that you didn't see, you would still not be able to create it. So what is the point of NOT showing it other than to make it much harder to avoid conflicting names?
if you want to not see files that you have no rights to, filter it in your user space application when it matters, and let user space see the files when they need to in order to avoid name conflicts.
It would be an incredibly idiotic system that auto hides files just because you can't use them. We have ways to hide files in user space for the convinience of users. It would be too inconvinient for applications if the OS hid files on us.
Len Sorensen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |