-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il giorno Tue, 20 Oct 2009 08:55:37 +0200 Klistvud <quotati...@aliceadsl.fr> ha scritto:
| Dne, 16. 10. 2009 12:50:43 je Klistvud napisal(a): | > Dne, 16. 10. 2009 12:19:03 je Cameron Hutchison napisal(a): | > > Klistvud <quotati...@aliceadsl.fr> writes: | > > ... | > > | > > # chgrp users /path/to/shared/directory | > > # chmod g+s /path/to/shared/directory | > > ... | | Anybody care to chime in? The question was: how does /usr/local | manage to assign a predefined group ownership to every file you copy | to /usr/ local? Can such behaviour be replicated for an arbitrary | directory in my /home subtree? | You have received the correct answer from Cameron, what else you want? If you copy or create a file, it works exactly as /usr/local, the file has the same group as the destination dir. If you move a file, it works exactly as /usr/local, the file retains its group. - -- Vincenzo Tibullo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkrdZ1oACgkQVC1WJss4YhefAQCfbA9DjgiIU5xLXdPvr98X65cj rZwAn2NXJHdrysHRoPYKLIy80Z33dtiK =T9zZ -----END PGP SIGNATURE-----