Re: File acces permissions in the sources

Mike A. Harris (mharris@ican.net)
Thu, 17 Dec 1998 09:29:46 -0500 (EST)


On Thu, 17 Dec 1998 papiraki@kdb.ml.org wrote:

> can anybody tell my where in the sources does Linux check for file acces permissions? ie: When I try to read, write, or execute a file and linux checks if I am allowed to do so. If not, could somebody tell my wich files to look at?

/usr/src/linux/fs/*

For ext2 file permission checking, look in:

/usr/src/linux/fs/ext2

It is in inode.c I think...

--
Mike A. Harris  -  Computer Consultant  -  Linux advocate

Linux software galore: http://freshmeat.net

- 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/