9851

How to change default permissions on Jenkins workspace directory on fedora?

Question:

I have a mysql instance that needs to dump csv files into a jenkins workspace. Unfortunately, Jenkins has permissions 755 for the workspace directory, and I need to be able to create and delete jobs of this type very often, so manual configuration doesn't work. How do I change the default permissions on these directories without writing a script do do it?

Answer1:

Just change the permissions on the root workspace directory. The workspaces for each job will be in subdirectories underneath the root, so they will inherit the root directory's permissions.

chown -R jenkins_user:jenkins_group /path_to_workspace_root

Recommend

  • Jenkins and updating git submodules
  • Maven LifeCycleExecutor with an incomplete configuration error
  • web.xml configuration based on Maven profile
  • com.jcraft.jsch.JSchException: Algorithm negotiation fail
  • How to install and setup Testswarm?
  • Upgrade from Jenkins Weekly to LTS
  • Hudson - different build targets for different triggers
  • Query with in a loop getting slower and slower
  • Laravel 5.2 Auth::check() on exception pages (layouts)
  • How do I get the number of jobs in a rq queue?
  • How to upload files in php using html
  • Why is django manage.py syncdb failing to create new columns on my development server?
  • Granting permissions to Azure Active Directory Web Application automatically
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • OSX - always hide certain files
  • Suppressing passwd when calling sqlplus from shell script
  • Security issues with PHP's Readfile method
  • Web.config system.webserver errors
  • chrome.tabs.executeScript only fires when the Developer Console is open
  • Checking free space on FTP server
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Change Inet root folder for iis 7
  • Highlight one bar in a series in highcharts?
  • Adding a button at the bottom of a table view
  • Getting last autonumber in access
  • Updated Ionic CLI but shows previous version (Windows)
  • Do I've to free mysql result after storing it?
  • Delete MySQLi record without showing the id in the URL
  • GridView Sorting works once only
  • Calling of Constructors in a Java
  • Comma separated Values
  • PHP: When would you need the self:: keyword?
  • Error creating VM instance in Google Compute Engine
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Hits per day in Google Big Query
  • how does django model after text[] in postgresql [duplicate]
  • How do I configure my settings file to work with unit tests?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Easiest way to encapsulate a HTML5 webpage into an android app?
  • Binding checkboxes to object values in AngularJs