From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96170043723655.tru64-unix-managers.marc@archive.invalid> From: Bodo Krause-Kyora Date: Thu, 22 Jun 2000 18:59:58 +0000 To: tru64-unix-managers Subject: Group ownership on move X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96170043723655 Hi, I've got a question about a strang behaviour in our directories: For our staff we have got several group directories. For Quota reasons we have given them a secondary group to access the group directories. # id gid=107(AU) groups=228(grsys_ap) # ls -ld group-sys_ap/ drwxrwx--- 14 nobody grsys_ap 8192 Jun 22 20:20 group-sys_ap/ When they create or copy a file in the group directory everything works fine: the new file gets the right group : # touch test.txt # ls -l test.txt -rw-rw---- 1 uu1 grsys_ap 0 Jun 22 20:46 test.txt BUT : if a user MOVES a file to the group directory, the file still belongs to the old group : # touch test2.txt (in his home directory ) # ls -l test2.txt (in his home dir ) -rw-rw---- 1 uu1 AU 0 Jun 22 20:50 test2.txt # mv test2.txt /group-sys_ap/ # ls -l /group-sys_ap/test2.txt -rw-rw---- 1 uu1 AU 0 Jun 22 20:50 test2.txt This is a bad situation. We installed the directories for exchange of files. But another user with access to the groupdirectory CANNOT access the file because of the wrong group. So my question : Have anyone seen this problem and got a good idea how to set the group ownership even if the user moves the file ??? Thanks in advance! Cheers, Bodo Krause-Kyora ************************************************ *Bodo Krause-Kyora * *PHYSnet Rechnerverbund * *Tel: 42838-2404 * *E-Mail : Krause@physnet.uni-hamburg.de * ************************************************