[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /proc filesystem allows bypassing directory permissions on Linux
- To: marco@xxxxxx
- Subject: Re: /proc filesystem allows bypassing directory permissions on Linux
- From: psz@xxxxxxxxxxxxxxxxx
- Date: Tue, 27 Oct 2009 23:56:01 +1100
Marco Verschuur <marco@xxxxxx> wrote:
> And due to the actual file permissions the read-only fd can easily
> changed to read-write.
How would you do that? Cannot use fcntl() as that would not let you.
Cheers, Paul
Paul Szabo psz@xxxxxxxxxxxxxxxxx http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia