azist / azos

A to Z Sky Operating System / Microservice Chassis Framework
MIT License
213 stars 29 forks source link

The OpLog sink fail (VfsFileSink) with access denied as it tries to access `/home' #771

Closed itadapter closed 2 years ago

itadapter commented 2 years ago

Because it tries to access /home which generates access denied:

//VfsSink.cs:42
  protected override void CheckPath(string path)
     => m_Session.EnsureDirectoryPath(path); //<== This tries to access `/home` but the Unix account does not have access there

See Azos.IO.FileSystem.FileSystemExtensions.cs:29

//set to root
 var dir = session[session.FileSystem.GetPathRoot(fullPath)] as FileSystemDirectory;
 if (dir == null) return false;
itadapter commented 2 years ago

re : #424

zhabis commented 2 years ago

c65b3732d4bdd7404521ca1791e5dfcfec712f93

itadapter commented 2 years ago

done