mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
o set permissions on /proc/device-mapper/control to -w-w-w
This commit is contained in:
parent
5c45d98645
commit
8f8fbdc399
@ -79,7 +79,7 @@ int dm_init_fs()
|
|||||||
if (!(_proc_dir = create_proc_entry(_fs_dir, S_IFDIR, &proc_root)))
|
if (!(_proc_dir = create_proc_entry(_fs_dir, S_IFDIR, &proc_root)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (!(_control = create_proc_entry(_control_name, S_IFREG, _proc_dir)))
|
if (!(_control = create_proc_entry(_control_name, S_IWUGO, _proc_dir)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
_control->write_proc = _line_splitter;
|
_control->write_proc = _line_splitter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user