Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

file-ownership

changing the ownership of a folder in linux [closed]

November 16, 2023 by Tarik

Use chown to change ownership and chmod to change rights. use the -R option to apply the rights for all files inside of a directory too. Note that both these commands just work for directories too. The -R option makes them also change the permissions for all files and directories inside of the directory. For … Read more

Categories linux Tags chmod, chown, file-ownership, linux, permissions Leave a comment

Docker creates files as root in mounted volume [duplicate]

July 21, 2023 by Tarik

You could try to create (in the Dockerfile of a custom image) a user and set it as the one used by the container RUN adduser –system –group –shell /bin/sh auser \ && mkdir /home/auser/bin USER auser Then check if a docker run -v /home/matt/build:/build build-rpm mounts the shared folder in /build as auser. Another … Read more

Categories docker Tags docker, file-ownership, volumes Leave a comment

What user should own /usr/local/mysql on Mac?

March 3, 2023 by Tarik

Looks valid to me. This is what my mysql folder looks like: drwxr-xr-x 17 root wheel 578 May 7 2010 . drwxr-xr-x 8 root wheel 272 Jun 11 2010 .. -rw-r–r– 1 root wheel 17987 May 7 2010 COPYING -rw-r–r– 1 root wheel 5139 May 7 2010 EXCEPTIONS-CLIENT -rw-r–r– 1 root wheel 9339 May 7 … Read more

Categories mysql Tags file-ownership, macos, mysql Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa