LINUX.ORG.RU

История изменений

Исправление KennyMinigun, (текущая версия) :

Проверил у себя:

elvenfighter ~ $ cd /tmp/

elvenfighter /tmp $ cp /usr/include/c++/4.7/iostream ./

elvenfighter /tmp $ stat iostream 
  File: `iostream'
  Size: 2735            Blocks: 8          IO Block: 4096   regular file
Device: 11h/17d Inode: 101569      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/elvenfighter)   Gid: ( 1000/elvenfighter)
Access: 2013-03-06 12:43:40.368583474 +0200
Modify: 2013-03-06 12:43:40.368583474 +0200
Change: 2013-03-06 12:43:40.368583474 +0200
 Birth: -

elvenfighter /tmp $ groups
elvenfighter adm cdrom sudo dip plugdev lpadmin sambashare

elvenfighter /tmp $ chown elvenfighter:sudo iostream 

elvenfighter /tmp $ kate iostream 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

elvenfighter /tmp $ stat iostream 
  File: `iostream'
  Size: 2746            Blocks: 8          IO Block: 4096   regular file
Device: 11h/17d Inode: 101998      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/elvenfighter)   Gid: (   27/    sudo)
Access: 2013-03-06 12:44:17.796582784 +0200
Modify: 2013-03-06 12:44:17.556582788 +0200
Change: 2013-03-06 12:44:17.556582788 +0200
 Birth: -

Исходная версия KennyMinigun, :

Проверил у себя:

elvenfighter ~ $ cd /tmp/
elvenfighter /tmp $ cp /usr/include/c++/4.7/iostream ./
elvenfighter /tmp $ stat iostream 
  File: `iostream'
  Size: 2735            Blocks: 8          IO Block: 4096   regular file
Device: 11h/17d Inode: 101569      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/elvenfighter)   Gid: ( 1000/elvenfighter)
Access: 2013-03-06 12:43:40.368583474 +0200
Modify: 2013-03-06 12:43:40.368583474 +0200
Change: 2013-03-06 12:43:40.368583474 +0200
 Birth: -
elvenfighter /tmp $ groups
elvenfighter adm cdrom sudo dip plugdev lpadmin sambashare
elvenfighter /tmp $ chown elvenfighter:sudo iostream 
elvenfighter /tmp $ kate iostream 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
elvenfighter /tmp $ stat iostream 
  File: `iostream'
  Size: 2746            Blocks: 8          IO Block: 4096   regular file
Device: 11h/17d Inode: 101998      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/elvenfighter)   Gid: (   27/    sudo)
Access: 2013-03-06 12:44:17.796582784 +0200
Modify: 2013-03-06 12:44:17.556582788 +0200
Change: 2013-03-06 12:44:17.556582788 +0200
 Birth: -