[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: montare cifs shares da utente normale



Il giorno lun, 23/02/2009 alle 11.16 +0100, Paolo Sala ha scritto:
> Ciao a tutti, anche se si usa l'opzione "user" in /etc/fstab, l'utente
> non può montare shares cifs o smbfs se non è il proprietario della
> directory in cui viene montato. Stando alle mie conoscenze però non è
> quindi possibile permettere a 2 utenti diversi di montare una share
> samba anche se è in fstab. In altre parole credo che questo
> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403700) sia un baco e
> non come loro affermano: "That's not a bug, that's a deliberate
> implementation decision. Users can't mount shares on mount points that
> they don't own."
> 
> Secondo me non è un bug soltanto se esiste un modo di inserire in fstab
> un qualche riferimento alla home dell'utente, qualcosa tipo:
> //servbername/share $HOME/path/shares/to/mount cifs...
> 
> Mi sbaglio o è semplicemente la limitatezza delle mie conoscenze?
> 
> Esiste un modo per bypassare il problema?

Si, evitare di usare fstab. fstab, anche se ha "user" è fondamentalmente
per i file system "fissi". Chiavette USB, share remote disponibili a più
utenti, CD, etc vengono gestiti meglio da altri sistemi.

Per samba nota che smbmount funziona anche per gli utenti normali (se
ricordo bene).

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog@debian.org
INIT.D Developer                                           fog@initd.org
 To prepare such test data, I get into the meaniest, nastiest frame of
  mind that I can manage, and I write the cruelest code I can think of;
  then I turn around and I embed that in even nastier constructions
  that are almost obscene.                                  -- D.E.Knuth

Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente


Reply to: