Re: devtmpfs default permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 29, 2009 at 03:02:50PM +0100, Mark Rosenstand wrote:
> Hi,
> 
> I've been using the devtmpfs patch for 2.6.31 and recently mainline
> 2.6.32-rc5.  I've noticed that /dev now have default tmpfs permissions,
> i.e. 1777.
> 
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
> 
> One can chmod the directory, but would it not make sense to use a more
> less permissive mode (e.g. 0755) by default?

I think the patch sent by Kay to the linux-kernel mailing list yesterday
will solve this problem.  It uses the default umask instead.

Can you test it out to verify this?

> Thanks for working out this feature, the "just works" of devfs together
> with the configurability of udev - love it :)

Glad you like it.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux