View Issue Details

IDProjectCategoryView StatusLast Update
0000765Samba Server10public2022-08-12 19:14
Reporterdazarewicz Assigned Topsmedley  
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
PlatformnVidia / AMD SMPOSArcaOSOS Version5.0.7
Summary0000765: Server (smbd) dies needlessly after producing permission messages in the log file
DescriptionServer (smbd Version 4.11.6-ArcaNoae) dies needlessly after producing permission messages in the log file.

File and Directory permissions are meaningless on OS/2 and any perceived invalidity should not be fatal on OS/2. Outputting warnings to the log file is fine, but needlessly exiting is not okay on OS/2. This will eventually bite everyone using this on OS/2 as it did me.

  [2022/07/07 18:52:20.131000, 0] ../../lib/util/util.c:427(directory_create_or_exist_strict)
    invalid permissions on directory 'D:\MPTN\ETC\samba\lock/msg.lock': has 0777 should be 0755
  [2022/07/07 18:52:20.205000, 0] ../../lib/util/util.c:427(directory_create_or_exist_strict)
    invalid permissions on directory 'D:\MPTN\ETC\samba\lock/msg.lock': has 0777 should be 0755

  [2022/07/07 19:41:38.685000, 0] ../../lib/util/util.c:427(directory_create_or_exist_strict)
    invalid permissions on directory 'D:\MPTN\ETC/samba/private/msg.sock': has 0755 should be 0700
  [2022/07/07 19:41:38.691000, 0] ../../lib/util/util.c:427(directory_create_or_exist_strict)
    invalid permissions on directory 'D:\MPTN\ETC/samba/private/msg.sock': has 0755 should be 0700

  [2022/07/07 19:41:59.431000, 0] ../../lib/util/util.c:427(directory_create_or_exist_strict)
    invalid permissions on directory 'D:\MPTN\ETC/samba/ncalrpc/np': has 0777 should be 0700
  [2022/07/07 19:41:59.431000, 0] ../../source3/smbd/server.c:2085(main)
    Failed to create pipe directory D:\MPTN\ETC/samba/ncalrpc/np - File exists
TagsNo tags attached.

Activities

psmedley

2022-07-10 08:19

administrator   ~0004463

https://github.com/psmedley/samba-os2/commit/78b408464814a81028d79479fca1ac5941857a36 should fix this. I'll provide a test smbd.exe once I have one

psmedley

2022-07-10 08:42

administrator   ~0004469

I don't have time to try and reproduce this morning, as we're heading down the coast for a short break today, but https://smedley.id.au/tmp/smbd.zip should address this.

psmedley

2022-08-12 19:14

administrator   ~0004543

Any updates @dazarewicz ?

Issue History

Date Modified Username Field Change
2022-07-10 01:35 dazarewicz New Issue
2022-07-10 08:19 psmedley Note Added: 0004463
2022-07-10 08:42 psmedley Assigned To => psmedley
2022-07-10 08:42 psmedley Status new => feedback
2022-07-10 08:42 psmedley Note Added: 0004469
2022-08-12 19:14 psmedley Note Added: 0004543