Messages in this thread | | | From | "Barry K. Nathan" <> | Subject | Re: [PATCH] specify ramfs root inode permissions at mount time | Date | Thu, 20 Jul 2000 01:44:30 -0700 (PDT) |
| |
> 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/
| |