How To Share a Folder Through SAMBA


  • Create a folder to share
# cd /
# mkdir data → folder name

  • Sharing the folder using SAMBA
# nano /etc/samba/smb.conf

** Go to end of file to new line and type following

[my data share] → Share name
path = /data → folder to share
public = yes → any SAMBA user can access the folder
writable = yes → all SAMBA users can write in to the folder

  • Reload the service
# service smb reload

Although we have given writable SAMBA permissions to all SAMBA users want to be able to write in to it from windows . Unless we change ext3 file folder permission.

# cd /
# ls -ld data → folder name
# chmod 757 data → normal way
# ls -ld data

0 comments:

Post a Comment