|
|
|
|
Strumenti |
07-04-2020, 18:56 | #1 |
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
HD condiviso lubuntu-ubuntu via SAMBA
Buongiorno,
ho un pc fisso con installato LUBUNTU 18.04 e un portatile con UBUNTU 18.04. ho provato a condividere un HD del pc fisso con SAMBA in lettura e scrittura e una cartella condivisa nel portatile sempre in lettura e scrittura entrambi aperti alla modifica. La cartella condivisa dal portatile con ubuntu posso modificarla dal fisso con lubuntu, ma l'HD del fisso se aperto dal portatile non mi consente la modifica, solo la lettura dei documenti possibile modificare l'importazione per renderlo accessibile e aprire i permessi per tutti gli utenti? spero di essere stato chiaro grazie |
08-04-2020, 08:25 | #2 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
eseguendo il comando: testparm (su ogni PC)
vedi le 2 configurazioni, e le differenze |
13-04-2020, 12:47 | #3 |
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
PC Fisso
Codice:
lino@lino-backup:~$ testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "syslog" option is deprecated Processing section "[printers]" Processing section "[print$]" Processing section "[Incoming]" Processing section "[Documenti]" Processing section "[Foto]" Loaded services file OK. idmap range not specified for domain '*' ERROR: Invalid idmap range for domain *! Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions # Global parameters [global] dns proxy = No log file = /var/log/samba/log.%m map to guest = Bad User max log size = 1000 obey pam restrictions = Yes pam password change = Yes panic action = /usr/share/samba/panic-action %d passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . passwd program = /usr/bin/passwd %u security = DOMAIN server role = standalone server server string = %h server (Samba, Ubuntu) syslog = 0 unix password sync = Yes usershare allow guests = Yes idmap config * : backend = tdb [printers] browseable = No comment = All Printers create mask = 0700 path = /var/spool/samba printable = Yes [print$] comment = Printer Drivers path = /var/lib/samba/printers [Incoming] comment = Incoming guest ok = Yes path = /home/lino/.aMule/Incoming read only = No [Documenti] comment = Documenti guest ok = Yes path = /mnt/Documenti read only = No [Foto] guest ok = Yes path = /media/lino/Foto read only = No Codice:
lino@lino-laptop:~$ testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "syslog" option is deprecated Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] server string = %h server (Samba, Ubuntu) server role = standalone server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers Mentre gli HD condivisi sul fisso sono in lettura aperta ma è possibile bypassare i permessi definitivamente quando si condividono cartelle, partizioni, HD? |
13-04-2020, 20:01 | #4 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
la dir condivisa del portatile quale e'?
|
14-04-2020, 06:50 | #5 |
Senior Member
Iscritto dal: Apr 2013
Messaggi: 3411
|
come soluzione alternativa potresti anche usare syncthing.
|
16-04-2020, 20:05 | #6 |
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
|
16-04-2020, 20:32 | #7 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
prova a condividerne un'altra nella tua home , dovrebbe venir fuori
|
20-04-2020, 09:24 | #8 | |
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
Quote:
ma non sembra comparire Codice:
lino@lino-laptop:~$ testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "syslog" option is deprecated Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] server string = %h server (Samba, Ubuntu) server role = standalone server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers |
|
20-04-2020, 09:31 | #9 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
alcuni comandi per analizzare condivisioni:
smbclient -l <ip> ( visualizza condivisioni ) findsmb ( list info about machines that respond to smb ) nmblookup -a <ip> nbtscan <ip> |
22-04-2020, 11:40 | #10 |
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
ho parzialmente risolto così
sul PC fisso da gestore dischi per ogni HD condivisibile ho modificato le opzioni di montaggio, inserendo un punto di Mount (/mnt/HD) e spuntato "montaggio all'avvio" da terminale Codice:
sudo pcmanfm così facendo il portatile vede tutti gli HD condivisi del fisso (che finalmente ha la funzione di backup) ho usato syncthing ma non mi ha soddisfatto resta da capire come possa eliminare il problema dei permessi quando sposto un file da un pc all'altro. grazie |
22-04-2020, 12:38 | #11 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
l'ID degli utenti e' lo stesso?
lo vedi dal comando da consolle del tuo utente: id |
23-04-2020, 10:55 | #12 | ||
Member
Iscritto dal: Oct 2010
Messaggi: 33
|
pc fisso
Quote:
Quote:
è un problema? |
||
23-04-2020, 12:26 | #13 |
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
no no, il sistema li identifica col numero-ID , ma vedo che e' lo stesso
|
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:07.