ALT Linux repos
5.0: | 1.90.0-alt6 |
4.1: | 1.90.0-alt2.M41.5 |
4.0: | 1.80.0-alt1 |
3.0: | 1.60.0-alt1.beta2.cvs20050406 |
+backports: | 1.70.0-alt2.stable.M30.2 |
Group :: File tools
RPM: krusader
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: krusader-altlinux-VFS-supplementary_gid_readable.patch
Download
Download
--- krusader/VFS/vfs.cpp.orig 2006-07-06 12:30:02 +0300
+++ krusader/VFS/vfs.cpp 2006-07-06 12:30:26 +0300
@@ -303,7 +303,7 @@
bool readable = false;
if( stat_p.st_uid == getuid() )
readable = !!(S_IRUSR & stat_p.st_mode);
- else if ( stat_p.st_gid == getgid() )
+ else if ( group_member(stat_p.st_gid) )
readable = !!(S_IRGRP & stat_p.st_mode );
else
readable = !!(S_IROTH & stat_p.st_mode );