File System Permission #3829

Closed
opened 2026-02-05 07:36:55 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @jimmie-jam on GitHub (May 30, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

This is probably a bone-headed question, but I am securing file system permissions in BookStack 23.05 on Ubuntu Server 20.04, and in the Admin Docs where it lists "barry," is "barry" an example user name I would replace with the management user I have created in Ubuntu Server, or is "barry" actually the built-in user name for managing the file system? I can;t tell if I'm reading the instructions incorrectly.

Here is the link to the document in question.
https://www.bookstackapp.com/docs/admin/filesystem-permissions/

Do I change "barry," or is that really the name of the user I need to reference to set permissions? I ask, because I just implemented BookStack at work (awesome BTW), and I can't save backups, or perform restores by default and figured I need to change the file system permissions to be able to backup and restore.

I'm in the proof of concept stage using this as a replacement for physical documentation, and need to have mulitple ways of backing up and restoring in the event of a goof.

Thanks!

Exact BookStack Version

23.05

Log Content

No response

PHP Version

8.2

Hosting Environment

Ubuntu Server 20.04 LTS (no GUI)

Originally created by @jimmie-jam on GitHub (May 30, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario This is probably a bone-headed question, but I am securing file system permissions in BookStack 23.05 on Ubuntu Server 20.04, and in the Admin Docs where it lists "barry," is "barry" an example user name I would replace with the management user I have created in Ubuntu Server, or is "barry" actually the built-in user name for managing the file system? I can;t tell if I'm reading the instructions incorrectly. Here is the link to the document in question. https://www.bookstackapp.com/docs/admin/filesystem-permissions/ Do I change "barry," or is that really the name of the user I need to reference to set permissions? I ask, because I just implemented BookStack at work (awesome BTW), and I can't save backups, or perform restores by default and figured I need to change the file system permissions to be able to backup and restore. I'm in the proof of concept stage using this as a replacement for physical documentation, and need to have mulitple ways of backing up and restoring in the event of a goof. Thanks! ### Exact BookStack Version 23.05 ### Log Content _No response_ ### PHP Version 8.2 ### Hosting Environment Ubuntu Server 20.04 LTS (no GUI)
OVERLORD added the 🐕 Support label 2026-02-05 07:36:55 +03:00
Author
Owner

@ssddanbrown commented on GitHub (May 30, 2023):

Hi @jimmie-jam,

barry is just an example, meant to represent your normal login user, or whatever user you'd typically want to use to run updates/backups etc...

If logged in as that user, you can often find that username via running echo $USER in the terminal.
For my servers, I usually run sudo chown -R dan:www-data /var/www/bookstack since I typically have a dan login I use as my main login account.

@ssddanbrown commented on GitHub (May 30, 2023): Hi @jimmie-jam, `barry` is just an example, meant to represent your normal login user, or whatever user you'd typically want to use to run updates/backups etc... If logged in as that user, you can often find that username via running `echo $USER` in the terminal. For my servers, I usually run `sudo chown -R dan:www-data /var/www/bookstack` since I typically have a `dan` login I use as my main login account.
Author
Owner

@jimmie-jam commented on GitHub (May 30, 2023):

Thanks, @ssddanbrown! I thought that was the case, but my brain had a temporary blind spot!
Excellent platform, and exceptional documentation, my man! This is a joy to have setup and to use!
Peace!

@jimmie-jam commented on GitHub (May 30, 2023): Thanks, @ssddanbrown! I thought that was the case, but my brain had a temporary blind spot! Excellent platform, and exceptional documentation, my man! This is a joy to have setup and to use! Peace!
Author
Owner

@ssddanbrown commented on GitHub (May 30, 2023):

Thanks for the kind feedback! Will therefore go ahead and close this off.

@ssddanbrown commented on GitHub (May 30, 2023): Thanks for the kind feedback! Will therefore go ahead and close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3829