Re: [PATCH] specify ramfs root inode permissions at mount time

From: Barry K. Nathan (barryn@cx518206-b.irvn1.occa.home.com)
Date: Thu Jul 20 2000 - 03:44:30 EST


> I tried to use ramfs for /tmp which failed because the default
> permissions of the root inode of ramfs is set to 0755. So I thought,
> that having this permission as a mount option will solve this problem.
>
> Here is a small patch which implements the mount option rootperm=1777.

Doing a "chmod 1777 /tmp" *after* mounting ramfs on /tmp should also work,
without needing to patch the kernel. At least, it seems to work for me.

-Barry K. Nathan <barryn@pobox.com>

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



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:13 EST