From: Bodo Krause-Kyora <krause () PHYSnet ! uni-hamburg ! de>
To: tru64-unix-managers
Subject: Group ownership on move
Date: Thu, 22 Jun 2000 18:59:58 +0000 [thread overview]
Message-ID: <96170043723655.tru64-unix-managers.marc@archive.invalid> (raw)
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
<snip> 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 <somewhere>/group-sys_ap/
# ls -l <somewhere>/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 *
************************************************
reply other threads:[~2000-06-22 18:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox