Can not see or access Sub directories / files through samba share
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2018
    Location
    Johannesburg,South-Africa
    Posts
    5

    Unhappy Can not see or access Sub directories / files through samba share

    Dear Everyone,

    I'm trying to build a home server with some media folders shared for my family.
    Hence , I installed the samba server and also for "ease of use" installed webmin console as well.

    let me say, I am not a linux expert, but I have done a couple of small things in the past.
    My server is currently running Fedora server 27 (headless).

    My issue is, I can get the samba setup to share folders but only root folders.

    When I browse the folder i can get it to show the sub folders , but that is it.
    I can not open the sub folders

    i have ran out of options.
    the folder I have shared is for example
    Actual folder path /2GBDRIVE
    Above folder structure is
    /2GBDRIVE/ALLMEDIA/Movies
    /2GBDRIVE/ALLMEDIA/Series
    and so on

    With current samba I can only see up to /2GBDRIVE/ALLMEDIA

    When i try to open ALLMEDIA I basically get a security violation ("I think").
    I have tried reluctantly to even chmod -R 0777 /2GBDRIVE.

    my samba basically looks like this:


    [global]
    name resolve order = host bcast

    encrypt passwords = true


    public = yes
    writeable = yes
    guest ok = yes
    create mode = 777
    enable core files = no
    directory mode = 777
    read raw = no
    workgroup = coetzeemedia
    netbios name = coetzeemedia
    server string = coetzeemedia

    load printers = no
    smb encrypt = disabled

    security = user
    wide links = yes
    unix extensions = no






    # samba share options

    # samba tuning options

    # Using the following configurations as a template allows you to add
    # writable shares of disks and paths under /storage

    [2GBDRIVE]
    browseable = Yes
    sync always = yes
    comment = 2GIG_MEDIA_DRIVE
    force directory mode = 777
    directory mode = 777
    hide dot files = no
    create mode = 0777
    delete readonly = yes
    force create mode = 777
    map system = yes
    public = yes
    map hidden = yes
    path = /2GBDRIVE
    read only = No
    writeable = Yes
    guest ok = yes
    wide links = yes
    unix extensions = no
    create mask = 0777
    directory mask = 0777
    available = yes
    browsable = yes
    public = yes
    writable = yes

    Can someone please help me?

    Where am I going wrong?

    Thank you very much

  2. #2
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    955

    Re: Can not see or access Sub directories / files through samba share

    can you run , as root, [ls -lsca /2GBDRIVE/] and [ls -lsca /2GBDRIVE/ALLMEDIA/]

    and post the output here ?
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  3. #3
    Join Date
    May 2018
    Location
    Johannesburg,South-Africa
    Posts
    5

    Re: Can not see or access Sub directories / files through samba share

    Hey there, thanks ,
    ran the commands:
    see output:
    [root@coetzeemedia ~]# ls -lsca /2GBDRIVE/
    total 3516
    4 drwxr-xr-x. 14 shareuser wheel 4096 May 2 17:46 .
    4 dr-xr-xr-x. 20 root root 4096 Apr 27 11:08 ..
    20 -rwxr-xr-x. 1 shareuser wheel 18436 May 2 17:46 .DS_Store
    4 -rwxr-xr-x. 1 shareuser wheel 4096 May 2 17:45 ._.DS_Store
    4 drwxrwxrwx. 39 shareuser wheel 4096 May 2 17:42 32GBUSBBACK_Peter
    4 drwxrwxrwx. 7 shareuser wheel 4096 May 2 17:42 ALLMOVIES
    4 drwxr-xr-x. 2 shareuser wheel 4096 May 2 17:46 chtml
    4 drwxrwxrwx. 2 shareuser wheel 4096 May 2 17:42 danielleuser
    4 drwxr-xr-x. 6 shareuser wheel 4096 May 2 17:46 janauser
    4 drwxr-xr-x. 2 shareuser wheel 4096 May 2 17:46 jennauser
    4 drwxrwxrwx. 2 shareuser wheel 4096 May 2 17:42 jordynuser
    16 drwxr-xr-x. 2 shareuser wheel 16384 May 2 17:46 lost+found
    4 drwxr-xr-x. 11 shareuser wheel 4096 May 2 17:46 philip
    4 drwxr-xr-x. 13 shareuser wheel 4096 May 2 17:46 philipBackupFolder
    4 drwxr-xr-x. 3 shareuser wheel 4096 May 2 17:46 philipold
    3424 -rwxrwxrwx. 1 shareuser wheel 3506176 May 2 17:42 plex64.rpm
    4 drwxr-xr-x. 2 shareuser wheel 4096 May 2 17:46 public
    [root@coetzeemedia ~]# ls -lsca /2GBDRIVE/ALLMOVIES/
    total 28
    4 drwxrwxrwx. 7 shareuser wheel 4096 May 2 17:42 .
    4 drwxr-xr-x. 14 shareuser wheel 4096 May 2 17:46 ..
    4 drwxrwxrwx. 2 shareuser wheel 4096 May 2 17:42 CoetzeeFamilyMovies
    4 drwxrwxrwx. 2 shareuser wheel 4096 May 2 17:42 JanaSeMovies
    4 drwxrwxrwx. 2 shareuser wheel 4096 May 2 17:42 Jason
    4 drwxrwxrwx. 4 shareuser wheel 4096 May 2 17:42 Movies
    4 drwxrwxrwx. 7 shareuser wheel 4096 May 2 17:42 Series

Similar Threads

  1. f17: How to Samba share directories?
    By louise in forum Using Fedora
    Replies: 5
    Last Post: 26th February 2013, 04:44 AM
  2. HELP !!Samba share not displaying all directories
    By Paul Goncalves in forum Servers & Networking
    Replies: 5
    Last Post: 11th November 2007, 05:39 PM
  3. Samba server can't access the directories.
    By mikedep333 in forum Servers & Networking
    Replies: 12
    Last Post: 25th August 2005, 01:06 AM

Tags for this Thread

Posting Permissions

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