Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild e permessi comandi
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 503

PostPosted: Sun Jul 08, 2018 6:13 am    Post subject: ebuild e permessi comandi Reply with quote

Ciao, sto cercando di far funzionare una ebuild per "installare" un programma....
la ebuild funziona....quello che non funziona é lo start (tramite init script)...funziona solo impostando l'utente come root....

nelle loro istruzioni trovo questo
Code:
Privileges
We recommend running Roon Server and Roon Bridge as root. Our distribution-specific packages are going to work this way, once released.

You are free to run Roon Server/Roon Bridge under other user accounts. If you do this, please make sure:

The user account needs to be able to create directories in /mnt in order to mount networked folders. We use mount.cifs to do the mounts.
The user account must have access to audio devices. Often this is accomplished by adding that account to the audio group.
The user account must be allowed to raise their ulimit -n value to 8192.
The user account must be allowed to write to the directory where RoonServer is installed, so the software can self-update.


il problema credo sia propio questo
Code:
The user account must be allowed to raise their ulimit -n value to 8192.


come faccio a dare i permessi all'utente di eseguire il comando "ulimit -n" ?

oppure dovrei usare l'utente root e aggiungere questo anche al gruppo "audio" ma la cosa non mi garba molto....avete idee?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Jul 08, 2018 3:31 pm    Post subject: Reply with quote

Devi configurare un gruppo o un utente in /etc/security/limits.conf
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum