System error

error:  Cannot create directory '/var/www/mason/workspace/algonetic.com/obj' (mkdir /var/www/mason: Permission denied at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 301.

Stack:
[/usr/share/perl/5.36/Carp.pm:291]
[/usr/share/perl/5.36/File/Path.pm:239]
[/usr/share/perl/5.36/File/Path.pm:195]
[/usr/share/perl/5.36/File/Path.pm:195]
[/usr/share/perl/5.36/File/Path.pm:195]
[/usr/share/perl/5.36/File/Path.pm:173]
[/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:301]
[/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:318]
[/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:222]
[/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:169]
[/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:155]
[/usr/local/lib/site_perl/auto/ScreenPoint/Core/exec.al:79]
[/var/www/html/services/_includes/services.html:6]
[/var/www/html/services/index.html:132]
) for user 'www-data', group 'www-data'. Perhaps you need to create or set permissions on your data_dir ('/var/www/mason/workspace/algonetic.com').
context: 
... 
314:  {
315:  my ($self) = @_;
316: 
317:  my $object_dir = $self->object_dir;
318:  $self->_make_data_subdir($object_dir);
319:  my $object_create_marker_file = $self->object_create_marker_file;
320:  unless (-f $object_create_marker_file) {
321:  open my $fh, ">$object_create_marker_file"
322:  or system_error "Could not create '$object_create_marker_file': $!";
... 
code stack:  /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:318
/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:222
/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:169
/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:155
/usr/local/lib/site_perl/auto/ScreenPoint/Core/exec.al:79
/var/www/html/services/_includes/services.html:6
/var/www/html/services/index.html:132
raw error






























Cannot create directory '/var/www/mason/workspace/algonetic.com/obj' (mkdir /var/www/mason: Permission denied at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 301.

Stack:
  [/usr/share/perl/5.36/Carp.pm:291]
  [/usr/share/perl/5.36/File/Path.pm:239]
  [/usr/share/perl/5.36/File/Path.pm:195]
  [/usr/share/perl/5.36/File/Path.pm:195]
  [/usr/share/perl/5.36/File/Path.pm:195]
  [/usr/share/perl/5.36/File/Path.pm:173]
  [/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:301]
  [/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:318]
  [/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:222]
  [/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:169]
  [/usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm:155]
  [/usr/local/lib/site_perl/auto/ScreenPoint/Core/exec.al:79]
  [/var/www/html/services/_includes/services.html:6]
  [/var/www/html/services/index.html:132]
) for user 'www-data', group 'www-data'. Perhaps you need to create or set permissions on your data_dir ('/var/www/mason/workspace/algonetic.com'). 

Trace begun at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 306
HTML::Mason::Interp::_make_data_subdir('HTML::Mason::Interp=HASH(0x55eaf8010ab0)', '/var/www/mason/workspace/algonetic.com/obj') called at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 318
HTML::Mason::Interp::_make_object_dir('HTML::Mason::Interp=HASH(0x55eaf8010ab0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 222
HTML::Mason::Interp::_create_data_subdirs('HTML::Mason::Interp=HASH(0x55eaf8010ab0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 169
HTML::Mason::Interp::_initialize('HTML::Mason::Interp=HASH(0x55eaf8010ab0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Interp.pm line 155
HTML::Mason::Interp::new('HTML::Mason::Interp', 'comp_root', '/var/www/html/custom/default/services', 'data_dir', '/var/www/mason/workspace/algonetic.com', 'out_method', 'SCALAR(0x55eaf7ff9900)') called at /usr/local/lib/site_perl/auto/ScreenPoint/Core/exec.al line 79
ScreenPoint::Core::exec('ScreenPoint::Core=HASH(0x55eaf7cb99f0)', 'comp_file', 'foo.html', 'cust_id', 0, 'theme', 'default', 'dir', 'services', 'fake', 0) called at /var/www/html/services/_includes/services.html line 6
HTML::Mason::Commands::__ANON__('UID', 0, 'CUST_ID', 0, 'C', 'ScreenPoint::Core=HASH(0x55eaf7cb99f0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eaf7ff92b8)', 'UID', 0, 'CUST_ID', 0, 'C', 'ScreenPoint::Core=HASH(0x55eaf7cb99f0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'UID', 0, 'CUST_ID', 0, 'C', 'ScreenPoint::Core=HASH(0x55eaf7cb99f0)') called at /var/www/html/services/index.html line 132
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.36.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eaf7cd2fd0)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55eaf7cb65c8)') called at /usr/local/share/perl/5.36.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55eaf7cb65c8)') called at /usr/local/share/perl/5.36.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55eaf76ccf40)', 'Apache2::RequestRec=SCALAR(0x55eaf69f5210)') called at (eval 25) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x55eaf69f5210)') called at -e line 0
eval {...} at -e line 0