ALT Linux Bugzilla
– Attachment 2158 Details for
Bug 12519
под unionfs не работает passwd
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
можно попробовать приложить этот патч
alt_unionfs_sgid.patch (text/plain), 610 bytes, created by
Andriy Stepanov (stanv)
on 2007-08-21 10:24:43 MSD
(
hide
)
Description:
можно попробовать приложить этот патч
Filename:
MIME Type:
Creator:
Andriy Stepanov (stanv)
Created:
2007-08-21 10:24:43 MSD
Size:
610 bytes
patch
obsolete
>diff -ruN linux-2.6.18/fs/unionfs/inode.c linux-2.6.18-modified/fs/unionfs/inode.c >--- linux-2.6.18/fs/unionfs/inode.c 2007-08-20 16:23:45 +0400 >+++ linux-2.6.18-modified/fs/unionfs/inode.c 2007-08-20 16:20:44 +0400 >@@ -85,7 +85,12 @@ > > newattrs.ia_mode = mode & ~current->fs->umask; > newattrs.ia_uid = current->fsuid; >- newattrs.ia_gid = current->fsgid; >+ else if (parent->i_mode & S_ISGID) { >+ newattrs.i_gid = parent->i_gid; >+ if (S_ISDIR(mode)) >+ mode |= S_ISGID; >+ } else >+ newattrs.ia_gid = current->fsgid; > > if (wh_dentry->d_inode->i_size != 0) { > newattrs.ia_valid |= ATTR_SIZE;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12519
: 2158