Open GoogleCodeExporter opened 9 years ago
[deleted comment]
Same problem for me...
Original comment by spl...@gmail.com
on 17 Jan 2012 at 9:51
...and here...
Original comment by maker...@gmail.com
on 30 Jun 2012 at 9:36
I have found the problem.
The device is created with SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_RW_RES_R
permissions and according to the docs:
Also note that traversal access is not granted to normal users. As such, this
might not be an appropriate descriptor for a device with a namespace.
So I made my own SDDL string of:
D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGX;;;RC)
which also gives Execute permissions and that works for me.
In init.c I added
static UNICODE_STRING sddl =
RTL_CONSTANT_STRING(L"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGX;;;
RC)");
and then I use that string for the calls to IoCreateDeviceSecure.
A full solution would require passing some kind of details into the mount
procedure or making sure that and userspace driver can correctly control the
permissions.
Original comment by jnewbi...@chrysocome.net
on 29 Jul 2012 at 12:07
Please make at least a hotfix for this issue, it's a complete showstopper.
Original comment by 7egg...@gmx.de
on 19 May 2013 at 9:33
The same problem here, pleas fix it.
Original comment by jan...@gmail.com
on 31 Aug 2013 at 8:59
Thanks for jnewbi, it works.
Original comment by kuanghf...@gmail.com
on 15 Oct 2013 at 9:10
Original issue reported on code.google.com by
vijay.rx...@gmail.com
on 19 Dec 2011 at 12:02