Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 485
    • Issues 485
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #2688

Closed
Open
Opened Jun 05, 2013 by RJD22@rjd22

SSH users should be able to write in the /var/www/clientX/webX/ folder to enable deployments etc.

Hello We offer our ssh config to professional clients. These clients use deployment scripts so they can deploy new versions of their applications and easily revert to an old applications if needed.

What I noticed is that the /var/www/clientX/webX/ folder has root:root permissions. This feels wrong and unnatural to me since it's the SSH users home folder. The problem is also that deploy scripts won't work because they have to be able to deploy to a private location AND symlink the web folder.

Because of the permissions you can't edit the web folder and you are forced to deploy in the provate folder.

I know you do this most likely because of security but I fail to see how making the /var/www/clientX/webX/ folder permission webX:clientX would compromise security.

Also all folders like SSL and log should be webX:clientX. People should be able to modify them when they want.

Edited Nov 01, 2020 by Thom
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#2688