tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Group ownership on move
@ 2000-06-22 18:59 Bodo Krause-Kyora
  0 siblings, 0 replies; only message in thread
From: Bodo Krause-Kyora @ 2000-06-22 18:59 UTC (permalink / raw)
  To: tru64-unix-managers


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      *
************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-22 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-22 18:59 Group ownership on move Bodo Krause-Kyora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox