lkml.org 
[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] specify ramfs root inode permissions at mount time
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.045 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site