How to make a docker run as nobody? romancin/bliss


mbc0

Recommended Posts

Hi,

 

I downloaded this bliss docker in feb 

Author:romancin

DockerHub:romancin/bliss

Repository:DockerHub Repository

Private Repository

 

and although it works whenever it creates new files it does so with root privilages and gets itself in a knot.  Is there a way I can get it to run as nobody? 

 

the files it tries to modify are set to nobody but it then tries to create a new file as root?

 

Any help would be massively appreciated as I asked for help back in Feb on his github but yet to receive a reply.

 

Thank you

 

image.png.2c3ffec375271186d147145bfce92933.png

 

image.thumb.png.5f1c62cfff607f5e9b8023be7db2710d.png

 

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/11%20-%20Gruff%20Rhys%20-%20John%20Adoring%20at%20Yale.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/12%20-%20Gruff%20Rhys%20-%20Set%20Fire%20to%20the%20Strings.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/07%20-%20Gruff%20Rhys%20-%20After%20Hours_Tension.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/04%20-%20Gruff%20Rhys%20-%20Tremble%20(Down).mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/10%20-%20Gruff%20Rhys%20-%20Log%20Cabin%203.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/05%20-%20Gruff%20Rhys%20-%20Tremble%20to%20the%20Light.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/22%20-%20Gruff%20Rhys%20-%20Dylan's%20Demons.mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/06%20-%20Gruff%20Rhys%20-%20Tremble%20(Up).mp3

Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/13%20-%20Gruff%20Rhys%20-%20After%20Hours_Tender.mp3

Link to comment

Thanks so much for that @saarg

 

I tried it but no success sadly, I also removed the old USER_ID & GROUP_ID variables so got left with just the PUID & GUID as recommended but still have the same result sadly.  Cannot understand why it is trying to create these files with these permissions

 

image.thumb.png.f13c6ed0adaee62f52bd065d7f265627.png

 

 

The files in green are the files I put into the directory, the .new files are what the docker creates when trying to process them

 

image.png.19a1f72959045b10774db2b2bf5f164b.png

Link to comment
2 hours ago, mbc0 said:

Thanks for the reply @saarg 

 

I will try to learn how to find a way to do this, do you think it is possible to "fix" this docker or should I try to create one from scratch, please bear in mind I will be learning from zero.

 

Again, thank you for your time.

 

The easiest would be to ask the author to fix it. Or create one from scratch.

Link to comment
13 hours ago, Squid said:

Thanks so much for your post, what I read from that link is to do this? problem is the docker does not run due to access denied exception

 

image.thumb.png.e2adb4206ac10cdcd19ed00c9d65e4bf.png

 

No existing installation in /?/.bliss/code. Will install from /bliss/lib
java.nio.file.AccessDeniedException: /?
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.