sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.83k stars 1.54k forks source link

Office 2010 powerpoint cannot open documents shared by Samba #2512

Open RisingYoung-Learn opened 1 year ago

RisingYoung-Learn commented 1 year ago

Describe what you noticed and did

  1. Install Samba software on CentOS 7.6 (for example: the IP address is 192.168.53.176), and the /etc/samba/smb.conf file is as follows: [homes] comment = Home Directories valid users = %S, %D%w%S browseable = Yes read only = No inherit acls = Yes writeable = yes public = yes

  2. Execute the following command in Windows to mount the Samba shared disk: NET USE "H:" \192.168.53.176\test_user test_passwd /USER:test_user /PERSISTENT:NO

  3. Start cmd in Sandblxie and enter the following command: "C:\Program Files\office2010\Office14\POWERPNT.EXE" "H:\111.ppt"

  4. Unable to open the file 111.ppt, the following error is reported:

    ppt_error
  5. The above operations, without using Sandboxie, directly use powerpoint to open the 111.ppt file normally;

How often did you encounter it so far?

When you create a new windows user and use Sandboxie for the first time, it must appear.

Affected program

Office 2010 powerPiont

Download link

Not relevant

Where is the program located?

The program is installed only outside the sandbox.

Expected behavior

The ppt file in the Samba shared disk can be opened normally.

What is your Windows edition and version?

Windows 10 21H1 and Windows Server 2016 1607

In which Windows account you have this problem?

A local or Microsoft account without special changes.

Please mention any installed security software

Windows Defender

What version of Sandboxie are you running?

Sandboxie plus 1.5.3 64

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

No response

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

#
# Sandboxie configuration file
#

[GlobalSettings]
FileRootPath=\??\%SystemDrive%\Sandbox\%USER%\%SANDBOX%
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX%
IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION%
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing
Template=OfficeClickToRun
Template=AdobeLicensing
Template=7zipShellEx

[UserSettings_4BC00582]
SbieCtrl_AutoStartAgent=SandMan.exe

[DefaultBox]
Enabled=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=9
CallTrace=*
OpenPipePath=H:\

[UserSettings_1D3402F4]
SbieCtrl_AutoStartAgent=SandMan.exe
hg421 commented 1 year ago

Try unchecking this option: grafik

(or change BlockNetworkFiles=y in the ini to BlockNetworkFiles=n)

RisingYoung-Learn commented 1 year ago

Try unchecking this option: grafik

(or change BlockNetworkFiles=y in the ini to BlockNetworkFiles=n)

thank you for your reply! After adding BlockNetworkFiles=n in Sandboxie.ini, the problem remains.

DaneXtream commented 1 year ago

Delete Template=BlockPorts because it blocks SMB ports as follows:

NetworkAccess=*,Block;Port=137,138,139,445