Howto - Create Shares on Bubba

A collection of tips on howto tweak your Bubba.
Post Reply
Posts: 4
Joined: 09 May 2008, 13:29

Howto - Create Shares on Bubba

Post by mhouwen » 09 May 2008, 13:45

Hello Community,

I am fairly new with Linux, Debian and Bubba.

How can I create Shares in my Root-dir ?

In the initial set-up I now only see Home
and a share Storage.

How to create additional shares on \\bubba\

any dummie discription :oops: is appreciated,

Thnx, Marc

Posts: 4
Joined: 21 Apr 2008, 13:24

Post by MartinArvidsson » 06 Jun 2008, 14:38

I'm not 100% sure, but i think you should edit the file smb.conf.

Login via ssh and run su to get root access (password excito) then...

Code: Select all

nano /etc/samba/smb.conf
And add something like

Code: Select all

   comment = this is user foo's folder
   writable = no
   guest ok = no
   public = no
   path = /home/foo

Code: Select all

/etc/init.d/samba reload
to reload the changes

Posts: 13
Joined: 12 Oct 2008, 18:06

Post by niklinds » 16 Oct 2008, 05:03


Is it possible to make this decription even more for dummies, I know nothing about Linux hack?

Posts: 128
Joined: 30 Jul 2007, 09:07

Post by ian » 17 Nov 2008, 14:37

First of all, you need to install some kind of terminal/ssh program; for windows you can use putty, which is completely free.

Once you have installed ie. putty, you need to run it and enter the IP address of your bubba. You will then be asked for your username and password; once you have filled these in, you are logged onto your bubba.

To login as the super-user, you type su, and then fill in excito as the password when prompted. From here on, you can follow Martin's instructions to create new shares on your bubba.

I am no linux expert, but I have been able to install hddtemp and bubbamon using instructions provided in this forum; once you get the hang of it, it's quite fun....

Posts: 1
Joined: 01 Dec 2008, 22:47

Post by jsilkenas » 01 Dec 2008, 23:35

:D Thanks for the details here they helped me.

I use an iMac with my bubba server. I opened a Terminal window and on the command line I used:

ssh [IP address of my bubba server]

Got prompted for my bubba user password then I su'ed to root as you can see below.

Last login: Tue Dec 2 09:53:31 on console
MyMachine:~ jsilk$ ssh
Linux bubba #1 Tue May 16 21:45:07 CEST 2006 armv4tl GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Wed Nov 12 11:38:37 2008 from
jsilk@bubba:~$ su

Then I changed directory to /etc/samba/

I made a copy of the smb.conf file using the cp command. then I edited the smb.conf file using the vi command. In the 'Share Definitions' section I added a share called 'general' and used Martin's basic code and added some to ensure that any file in general has got read, write and execute permissions for all as that suited my needs for this particular share.

#======== Share Definitions ==============

comment = Home Directories
path = /home
browseable = yes
writable = yes
create mask = 0764
directory mask = 0755
public = no
guest ok = no
hide dotfiles = yes
user = @users

comment = Common Media storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode = 0777
force directory mode = 0777
path = /var/samba/public

comment = Common storage
writable = yes
guest ok = yes
public = yes
force create mode = 0777
force directory mode =0777
hide dotfiles = yes
path = /home/general



Post Reply