[Samba-it] [OT?] share samba, permessi e windows XP...

Marco Gaiarin gaio at sv.lnf.it
Wed Sep 28 18:28:02 MDT 2005


Mandi! Marco De Vitis
  In chel di` si favelave...

> >Cosa che non mi sembra accada... cosa sbaglio?

> Se non vuoi usare le ACL in Samba, prova a dare un'occhiata ai
> parametri "force create mode" o "create mask" di smb.conf, per fare
> in modo che il file venga creato con i diritti di scrittura per il
> gruppo.

...ci avevo pensato, ma volendo usare le ACL mi pareva più sensato
operare in quel senso.


> Oppure "inherit permissions" per attivare l'ereditarietà. Usando le
> ACL, invece, c'è un apposito "inherit acls".

Peccato che inherit acls valga per le directory e basta:

       inherit acls (S)
              This parameter can be used to ensure that if default acls exist
              on  parent  directories, they are always honored when creating a
              subdirectory. The default behavior is to use the mode specified
              when  creating the directory. Enabling this option sets the mode
              to 0777, thus guaranteeing that default directory acls are prop-
              agated.

ma mi hai messo sulla strada giusta:

       map acl inherit (S)
              This boolean parameter controls whether smbd(8) will
	attempt to map the 'inherit' and 'protected' access control entry flags
	stored in Windows ACLs into an extended attribute called
	user.SAMBA_PAI. This parameter only takes effect if Samba is being run
	on a platform that supports extended attributes (Linux and IRIX so far)
	and allows the Windows 2000 ACL editor to correctly use inheritance
	with the Samba POSIX ACL mapping code.

credo che questo sia quello che mi manca.


Una cosa mi sfugge. Mentre inherit acls sembra fare quello che mi serve
(forza l'ereditarietà per le cartelle) il parametro map acl inherit
sebra solo permettere di salvare l'informazione di ereditarietà.

Ma chi la ``applica''?! In teoria samba... non credo che sia compito
dei client applicarla... anche perchè altrimenti come farebbero i
client 9X... ma se tocca a samba perchè manca il parametro specifico?


Non capisco.

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  gaio(at)sv.lnf.it		tel +39-0434-842711    fax +39-0434-842797

			Grazie parlamento europeo!
		http://punto-informatico.it/p.asp?i=53925&r=PI



More information about the samba-it mailing list