fix default uid/gid of file for suid-root user mounts (Laszlo Dvornik, Szaka)

master
szaka 2007-04-02 21:08:06 +00:00
parent f30a79b302
commit cae49b9373
1 changed files with 2 additions and 2 deletions

View File

@ -1607,8 +1607,8 @@ static int ntfs_fuse_init(void)
*ctx = (ntfs_fuse_context_t) {
.state = NF_FreeClustersOutdate | NF_FreeMFTOutdate,
.uid = geteuid(),
.gid = getegid(),
.uid = getuid(),
.gid = getgid(),
.fmask = 0,
.dmask = 0,
.streams = NF_STREAMS_INTERFACE_NONE,