File access problem freeb hcfa

duanemorrow wrote on Friday, May 11, 2007:

the freeb program is in /usr/share/freeb.
When freeb creates a hcfa file it is located in freeb/public and has the following access for example.

-rw-r–r--  1 root   root    1970 May 11 15:24 2007-05-11-1-7989.hcfa

I’m trying to get a windows user (samba) to be able to access, change and save this file (along with others)

How to I change this functionality so that any samba (windows) user can edit this file and save it?

redlettertech wrote on Saturday, May 12, 2007:

Edit the Samba configuration file smb.conf and add a share to the public directory.
Your path and information may vary from the example shown below.  Just modify to suite your needs.

nano /etc/smaba/smb.conf

Add the following to the file

[public]
    comment = EMR billing output
    path = /usr/share/freeb/public
    read only = No
        browseable = Yes

Save the file

Restart Samba
/etc/init.d/sambad restart

From the windows machine map a network drive to the share called public.

This should get you started.  You can add more to public share in the samba config like restricting it to a user or group.

Redletter Tech