[Risolto] Lubuntu 16.04 e i permessi negati

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
supercar
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1443
Iscrizione: martedì 23 settembre 2008, 2:10
Desktop: mate
Distribuzione: ubuntu 14.04
Località: sicilia

[Risolto] Lubuntu 16.04 e i permessi negati

Messaggio da supercar »

Salve,
premettendo che ritengo Lubuntu un figlio veramente povero di Ubuntu, per necessità ho dovuto installarlo... :sisi:
devo far riconoscere una comunissima stampante multifunzione Samsung Xpress M2070W wifi, posseggo già il driver della casa che ho installato anche su Ubuntu..
al comando di installazione via terminale con i privilegi di root , la risposta è questa:

Codice: Seleziona tutto

**** Do you agree ? [y/n] : y
./noarch/package_install.sh: 46: ./noarch/package_install.sh: ./noarch/package_install.sh: Permission denied
**** Do you want to continue to install scan driver ? [y/n] : y
./noarch/package_install.sh: 46: ./noarch/package_install.sh: ./noarch/package_install.sh: Permission denied
**** Install finished.
root@biagiopinzone:/home/biagio/uld1# 
quindi permesso negato! perchè?
grazie a tutti
Ultima modifica di supercar il venerdì 26 maggio 2017, 12:53, modificato 1 volta in totale.
il mio blog http://biagiosupercar.wordpress.com/

se fai del bene scordati, se fai del male pensaci
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Lubuntu 16.04 e i permessi negati

Messaggio da axilot »

hai controllato i permessi di esecuzione del file "package_install.sh" ?
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
supercar
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1443
Iscrizione: martedì 23 settembre 2008, 2:10
Desktop: mate
Distribuzione: ubuntu 14.04
Località: sicilia

Re: Lubuntu 16.04 e i permessi negati

Messaggio da supercar »

si ho messo "chiunque"
il mio blog http://biagiosupercar.wordpress.com/

se fai del bene scordati, se fai del male pensaci
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Lubuntu 16.04 e i permessi negati

Messaggio da axilot »

posta il comando completo che dai
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
supercar
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1443
Iscrizione: martedì 23 settembre 2008, 2:10
Desktop: mate
Distribuzione: ubuntu 14.04
Località: sicilia

Re: Lubuntu 16.04 e i permessi negati

Messaggio da supercar »

Codice: Seleziona tutto

root@biagiopinzone:/home/biagio/uld1# sh install.sh
**** Running install ...
**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. : 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
END-USER LICENSE AGREEMENT FOR SAMSUNG ELECTRONICS SOFTWARE PRODUCT 

IMPORTANT-READ CAREFULLY: This Samsung Electronics End-User License Agreement ("
EULA") is a legal agreement between you (either an individual or a single entity
) and Samsung Electronics Co., Ltd. ("SAMSUNG ELECTRONICS") with respect to the 
SAMSUNG ELECTRONICS software product intended to be used with the SAMSUNG device
s. The SAMSUNG ELECTRONICS software product may include associated software comp
onents, media, printed materials and "online" or electronic documentation develo
ped and provided by SAMSUNG ELECTRONICS ("SOFTWARE PRODUCT"). For all other thir
d party software products which may be supplied with or for the SAMSUNG devices,
 your use of such software products shall be subject to separate terms of use an
d end user license agreements of such third parties.   By installing, copying, d
ownloading or using the SOFTWARE PRODUCT, you agree to be bound by the terms of 
this EULA. If you do not agree to the terms of this EULA, you may not install or
 use the SOFTWARE PRODUCT. 

1.	GRANT OF LICENSE. 
The SOFTWARE PRODUCT is licensed, not sold. Subject to the condition that you ar
e in compliance with the terms of this EULA, SAMSUNG ELECTRONICS grants you the 
following licenses: you may install and use as many copies of the SOFTWARE PRODU
CT, or any prior version for the same operating system, for use strictly for the
 personal use, on any computer owned and used by members. No other use, copying 
or distribution of the SOFTWARE PRODUCT is permitted. Your use of the SOFTWARE P
RODUCT shall be subject to restrictions and limitations as specified in this EUL
A.  You cannot modify the SOFTWARE PRODUCT or disable any licensing or control f
eatures of the SOFTWARE PRODUCT directly. If the SOFTWARE PRODUCT is licensed fo
r concurrent use, you may not allow more than the maximum number of authorized S
amsung devices and users to use the SOFTWARE PRODUCT concurrently.  If you are i
nstalling this copy of the SOFTWARE PRODUCT as an upgrade, update, patch or enha
ncement of a prior release of the same SOFTWARE PRODUCT which was installed on t
he same computer, your rights under the prior license agreement for the SOFTWARE
 PRODUCT are terminated, and all of your use of the SOFTWARE PRODUCT (including 
its prior versions) are solely under the terms of this license agreement.

2. 	RESTRICTIONS AND LIMITATIONS ON USE OF THE SOFTWARE PRODUCT
PROHIBITION OF ALTERATION
Except to the extent such a restriction is unenforceable under local law, you ma
y not reverse engineer, decompile, or disassemble the SOFTWARE PRODUCT. The SOFT
WARE PRODUCT is licensed as a single product, and its component parts may not be
 separated for use on more than one computer. Except to the extent such a restri
ction is unenforceable under local law, you may not modify, amend, or create der
ivative works of the SOFTWARE PRODUCT. 

RENTAL 
Except to the extent such a restriction is unenforceable under local law, you ma
y not lease, lend or rent the SOFTWARE PRODUCT to anyone.

3.	COPYRIGHT. 
The SOFTWARE PRODUCT is protected by copyright laws and international copyright 
treaties, as well as other intellectual property laws and treaties that are rele
vant to your use of the SOFTWARE PRODUCT. All title and copyrights in and to the
 SOFTWARE PRODUCT (including but not limited to any images, photographs, animati
ons, video, audio, music, text, and "applets" incorporated into the SOFTWARE PRO
DUCT) are owned by SAMSUNG ELECTRONICS. 

MARKING AND MAINTENANCE OF COPYRIGHT You may not remove or change the marking of
 the copyright from the SOFTWARE PRODUCT and all of its copies.

INTELLECTUAL PROPERTY RIGHTS All titles and copyrights in and of the SOFTWARE PR
ODUCT and any copies of the SOFTWARE PRODUCT are owned by SAMSUNG ELECTRONICS or
 its suppliers.  All title and intellectual property rights in and of the conten
t which may be accessed through use of the SOFTWARE PRODUCT is the property of t
he respective content owners and may be protected by the applicable copyright or
 other intellectual property laws and treaties.  Without SAMSUNG ELECTRONICS' pr
ior consent, the act of arbitrarily reproducing, copying or distributing this pr
oduct and relevant print materials, shall be material breach of this EULA, and v
iolation of the relevant copyright laws. In case of any violation or breach of t
erms of this EULA, SAMSUNG ELECTRONICS may hold you directly liable for compensa
tion. 

THIRD PARTY WORKS. To the extent that any third party's intellectual property is
 incorporated within the SOFTWARE PRODUCT, you agree that such third party is a 
third-party beneficiary of the terms of this EULA to the extent of the third par
ty's license to SAMSUNG ELECTRONICS.

4.	TRANSFER
To the extend permitted by the laws of your permanent residence, you may transfe
r this license and your original and any permitted backup copy of the SOFTWARE P
RODUCT to another authorized person or legal entity, provided: (1) the other per
son/legal entity receives a copy of this Agreement or other applicable Samsung S
oftware License Agreement and agrees to be bound by its terms and conditions; (2
) you erase or destroy all copies of the SOFTWARE PRODUCT; and (3) you at all ti
mes comply with all applicable export control laws and regulations.

5.	WARRANTIES AND SUPPORT
SUPPORT: SAMSUNG ELECTRONICS may provide you with product support related to the
 SOFTWARE PRODUCT. You may use and receive the support in accordance with the us
er guide, "online" documentation or the SAMSUNG ELECTRONICS' policies and progra
ms stipulated in the materials provided by SAMSUNG ELECTRONICS.  Any third party
 software that is provided to you as part of the SAMSUNG devices shall be subjec
t to terms and conditions of the third party, and support for such third party s
oftware products shall be subject to the support for such third party software m
ade available and provided by the third party. SAMSUNG ELECTRONICS does not have
 any support obligations for such third party software products. 

LIMITED WARRANTY: THE SOFTWARE PRODUCT IS PROVIDED TO YOU “AS IS.”   SAMSUNG DOE
S NOT WARRANT THAT THE SOFTWARE PRODUCT IS ERROR OR BUG FREE, OR PERFORM OR FUNC
TION AS INTENDED.  IN THE EVENT THAT THE SOFTWARE PRODUCT IS FOUND TO BE DEFECTI
VE, YOU MAY BE AFFORDED WITH THE THEN AVAILABLE PRODUCT SUPPORT.  TO THE MAXIMUM
 EXTENT PERMITTED BY APPLICABLE LAW, SAMSUNG AND ITS SUPPLIERS DISCLAIM ALL OTHE
R WARRANTIES AND CONDITIONS WITH REGARD TO OR ARISING OUT OF THE SOFTWARE PRODUC
T, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES 
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND/OR AC
CURACY OF INFORMATION.  SOME JURISDICTIONS, COUNTRIES OR STATES DO NOT ALLOW THE
 EXCLUSION OR LIMITATION OF CERTAIN WARRANTIES, SO THE ABOVE LIMITATION OR EXCLU
SION OF WARRANTIES MAY NOT APPLY TO YOU ONLY TO THE EXTENT SUCH APPLICATION IS C
ONTRARY TO THE LAWS OF RELEVANT JURISDICTIONS, COUNTRIES OR STATES. 


SUPPORT INFORMATION: With respect to information that you provide to SAMSUNG ELE
CTRONICS as part of the support, SAMSUNG ELECTRONICS may use it with a view to s
upporting and developing its products, and all other use of such information sha
ll be subject to SAMSUNG ELECTRONICS’ then privacy policy. 


6. 	CONCESSION  
By installing and using the SOFTWARE PRODUCT, it is conceded that you have read 
and understand the agreement, and agree to all of its terms and conditions.  The
 agreement takes precedence over any other agreements concluded between you and 
SAMSUNG ELECTRONICS. 

7. 	CONSENT TO USE OF DATA
SAMSUNG ELECTRONICS may collect and use technical information you provide in rel
ation to your installation and use of the SOFTWARE PRODUCT or the provision of s
upport services related to the SOFTWARE PRODUCT. All such information will be su
bject to SAMSUNG ELECTRONICS’ privacy policy. 

8. 	TERMINATION
Without prejudice to any other rights, SAMSUNG ELECTRONICS may terminate this EU
LA or your rights under this EULA at any time if you fail to comply with the ter
ms and conditions of this EULA. Upon termination of your rights under this EULA 
for any reason, or upon termination of the EULA itself, you must destroy all cop
ies of the SOFTWARE PRODUCT and all of its component parts in your possession (i
ncluding all component parts, the media and printed materials, any prior version
s, and this EULA). The terms of this paragraph shall survive any termination of 
this EULA. 

9. 	LIMITATION OF LIABILITY
You are solely and entirely liable for the performance or results you may obtain
 by using the SOFTWARE PRODUCT and SAMSUNG ELECTRONICS shall not be liable for l
osses arising from your use of the SOFTWARE PRODUCT and for any losses arising f
rom your inability to use the SOFTWARE PRODUCT. 
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL SAMSUNG OR 
ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL 
DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS 
PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUN
IARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT, E
VEN IF SAMSUNG HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE,
 SAMSUNG'S ENTIRE LIABILITY UNDER ANY PROVISION OF THIS EULA SHALL BE LIMITED TO
 THE GREATER OF THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE PRODUCT OR US$5
.00. SOME JURISDICTIONS, COUNTRIES OR STATES DO NOT ALLOW THE EXCLUSION OR LIMIT
ATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSI
ON MAY NOT APPLY TO YOU ONLY TO THE EXTENT SUCH APPLICATION IS CONTRARY TO THE L
AWS OF RELEVANT JURISDICTIONS, COUNTRIES OR STATES. 
10. 	Others
If you have any questions regarding this agreement and other products, please co
ntact SAMSUNG ELECTRONICS.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

**** Do you agree ? [y/n] : y
./noarch/package_install.sh: 46: ./noarch/package_install.sh: ./noarch/package_install.sh: Permission denied
**** Do you want to continue to install scan driver ? [y/n] : y
./noarch/package_install.sh: 46: ./noarch/package_install.sh: ./noarch/package_install.sh: Permission denied
**** Install finished.
root@biagiopinzone:/home/biagio/uld1# 
questo è tutto il comando da terminale
comunque 16.04 sembra proprio non andare d'accordo con stampanti e scanner, mille problemi e rogne per far funzionare le cose più banali, anche su Mint stessi fastidi specialmente con lo scanner di questa stampante che non sono mai riuscito a far funzionare, è incredibile come dal gestore pacchetti non si riesca a trovare qualcosa che metta fine a queste rogne...
certamente anche i driver scritti con i piedi fanno la loro parte ( scusate lo sfogo)
il mio blog http://biagiosupercar.wordpress.com/

se fai del bene scordati, se fai del male pensaci
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17935
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: Lubuntu 16.04 e i permessi negati

Messaggio da caturen »

Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Lubuntu 16.04 e i permessi negati

Messaggio da axilot »

prova con

Codice: Seleziona tutto

 bash ./install.sh
loggato come root

il "." serve ad far eseguire script in directory che non sono in $PATH

verifica anche i permessi di esecuzione del sottoscript "./noarch/package_install.sh" che viene richiamato da "install.sh"
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
supercar
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1443
Iscrizione: martedì 23 settembre 2008, 2:10
Desktop: mate
Distribuzione: ubuntu 14.04
Località: sicilia

Re: Lubuntu 16.04 e i permessi negatine probabilmente con ve

Messaggio da supercar »

grazie a tutti per gli interventi! :birra:
ho risolto in questo modo: premetto che il file utilizzato era stato scompattato tempo prima per installare la stessa stampante su un altro pc ed il problema sta proprio lì
perchè evidentemete i permessi vengono assegnati al momento di decomprimere il file tar.gz della Samsung.. quindi se avete salvato come me il file scompattato non servirà a nulla

ma lo stesso driver non ha funzionato per lo scanner perchè per quanto sia un driver unificato per tutte le periferiche Samsung di questo tipo, e ciò andava probabilmente bene per le distribuzioni .buntu prima di 16.04, adesso bisogna stare molto attenti a scaricare dal sito proprio quello specifico riportato in base ai vari modelli in elenco, addirittura anche il solo riconoscimento con il nome abbreviato ne determina il mancato funzionamento
quì il sito che ovviamente molti conosceranno http://www.bchemnet.com/suldr/
e quà il driver specifico che non è disponibile nei repository http://www.bchemnet.com/suldr/driver/Un ... .37.tar.gz
grazie ancora per i suggerimenti
il mio blog http://biagiosupercar.wordpress.com/

se fai del bene scordati, se fai del male pensaci
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 11 ospiti