Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
A

AndraaX

@AndraaX
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • setup start.sh installs /etc/sudoers.d/cloudron with mode 0644 without chmod — visudo -c warns "bad permissions"
    A AndraaX
    Support

    Hi, on Ubuntu 24.04 with box 10.1.x,

    visudo -c reports /etc/sudoers.d/cloudron
    

    : bad permissions, should be mode 0440.

    Cause: setup/start.sh copies the file with plain cp and no chmod, so it lands as 0644. Since start.sh runs at every update, a manual chmod 440 gets reverted each time.

    Not a privilege escalation (sudo only refuses group/world-writable files), but it trips visudo -c, which hardening/security audits run routinely.

    Suggestion: add chmod 0440 right after the cp in setup/start.sh (and mark the source file 0440 in the tarball).

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search