Find the answer to your Linux question:
Results 1 to 2 of 2
Hey All, Quick question, I am using a samba share to external drive Dir /media/hd (/dev/sdb1) I have created two users brentaserio elissadserio they have been added as members of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    13

    Samba Shares


    Hey All,

    Quick question, I am using a samba share to external drive
    Dir
    /media/hd (/dev/sdb1)

    I have created two users
    brentaserio
    elissadserio
    they have been added as members of seriohome group as (adm,users,seriohome)

    I configured Saba as:

    Share name: seriodrive
    Share Directory: /media/hd
    Browseable: YES
    Public: YES
    Writeable: YES
    Createmask: Blank
    Directory: Blank

    As it stands now if I get on my wifes laptop open Run type \\192.168.1.100\ it opens then I click seriodrive which actually lets me in now, but I cannot create directories or copy files to this. I am certain it is a permissions deal.

    I think the problem is with the directory, I have a feeling i can't share out an entire harddrive like windows platforms, but If i go into the directory manually I cannot create a new folder in there like 'Shares' or something and edit the permissions. Any help would be appriciated.

  2. #2
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120

    Post

    Hi brentaserio,

    As root or Sudo, the device (/dev/sdb1) has a mount point of /media/hd, if this is correct;

    create a new directory, change the permissions and ensure your users have access.

    example:

    # cd /media/hd

    # mkdir public

    # chmod 1775 public (Check man pages on chmod before setting permissions)

    You should now be ready to go.

    OR

    Using the mandriva control centre, go to the mount point tab & follow the prompts in sharing a partition - directory.

    I hope this is of help.

    Jnike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •