cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Access to a Windows shared folder

Access to a Windows shared folder

ericvergara
Occasional Contributor

Hello,

We have a customer that is trying to access to a shared windows folder in order to read and write files, 

He tried to execute a script using the NodeRed application but when he tried to install the "pysmb" library it returned an error because the Core does not have installed the "pip" library.

Now he is trying to mount a drive in the ctrlX Core using the "mount" Ubuntu command, but when he executes the code the Core returns an "access denied" error,

Is it posible to have a mounted drive addressed to a Windows folder? Is there a possibility to have an "all-rights/privileges" user?

Thanks in advance,

2 REPLIES 2

nickH
Community Moderator
Community Moderator

Hello, 

First some information regarding the use of the python script. Pip install is not possible on the ctrlX CORE due to security issues. But you can unpack your python wheels by hand and bring them to the active configuration to use them in your python scripts on the ctrlX CORE (see this thread for more information). But please keep in mind that this is only possible python modules. If you want to use python modules which include compiled code you would need to write your own snap in python (see the ctrlX AUTOMATION SDK for mor information on that).

 

But you already talked about Node-Red. What about doing the file access in Node-Red instead of a Python script? The Node Red package "node-red-contrib-smb" is used by one Community Member in this thread

 

You can have a system user on the ctrlX CORE, but for development purposes only! Your ctrlX CORE will be marked as unsafe device further on an must not be used in production mode. Please get in contact with your known sales contact person to request such a system user (see this thread for more information).

 

Here are two related posts to your topic in the forum:

 

Best regards, 

Nick

ericvergara
Occasional Contributor

Hello nickH,

Thank you very much for your detailed response!

We will forward it to the customer,

Best regards,

Eric

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist