Results 1 to 6 of 6

Thread: Samba: spurious files, changing permissions in folder

  1. #1
    Join Date
    Jan 2011
    Location
    British Columbia
    Beans
    Hidden!
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Samba: spurious files, changing permissions in folder

    Hey all, I have a headless server set up & running (16.04). I have smb running, with several different shares & users privileges. But i can't get one folder to work. Every time i create it it comes full of driver folders, and I can't get the permissions to work. I have; 1. deleted, and recreated the directory 2. renamed (mv), and created new directory 3. changed the case of the directory (first letter) 4. used a different directory label all together. None of this works soooo, there is a gap in my knowledge and google has not returned anything of value. Can anyone help, or provide insight or direction?
    Last edited by XBMC old School; February 11th, 2018 at 10:45 PM.
    Ubuntu-Gnome 17.04, 4.14 Kernel
    Core i7 c/w itx Board / Z87 Chipset
    R9 280OC (Tahiti Pro, Radeon HD 7950/4950 OEM)
    256gb OS, ~8TB of Spinners

  2. #2
    Join Date
    Jan 2011
    Location
    British Columbia
    Beans
    Hidden!
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Samba: spurious files, changing permissions in folder

    This is Virtually not Virtualization
    Ubuntu-Gnome 17.04, 4.14 Kernel
    Core i7 c/w itx Board / Z87 Chipset
    R9 280OC (Tahiti Pro, Radeon HD 7950/4950 OEM)
    256gb OS, ~8TB of Spinners

  3. #3
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    24,928
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Samba: spurious files, changing permissions in folder

    Thread moved to Server Platforms, a more appropriate forum.

    Apologies!

  4. #4
    Join Date
    Jan 2011
    Location
    British Columbia
    Beans
    Hidden!
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Samba: spurious files, changing permissions in folder

    bump
    Ubuntu-Gnome 17.04, 4.14 Kernel
    Core i7 c/w itx Board / Z87 Chipset
    R9 280OC (Tahiti Pro, Radeon HD 7950/4950 OEM)
    256gb OS, ~8TB of Spinners

  5. #5
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    998
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Samba: spurious files, changing permissions in folder

    Quote Originally Posted by XBMC old School View Post
    Hey all, I have a headless server set up & running (16.04).
    Congratulations and welcome to the club! I'm an old XBOX fan too. I also made an XBMC machine and used it to play back my 1st-born's pictures/movies to our visitors while we were still in the hospital.

    Quote Originally Posted by XBMC old School View Post
    I have smb running, with several different shares & users privileges.
    Are we talking local users, Samba DC users, Microsoft AD users?

    Quote Originally Posted by XBMC old School View Post
    But i can't get one folder to work. Every time i create it it comes full of driver folders, and I can't get the permissions to work.
    Are you saying that "driver" files magically appear when you create a folder? What is the path you are talking about? Is it somewhere under /srv?

    Quote Originally Posted by XBMC old School View Post
    I have; 1. deleted, and recreated the directory 2. renamed (mv), and created new directory 3. changed the case of the directory (first letter) 4. used a different directory label all together.
    Your primary tools are: "chown" to set user and group ownership, "chmod" to set file/folder permissions for the user, the group and everyone else not the user or group.

    Here is a nice overview of Linux permissions.

    LHammonds

  6. #6
    Join Date
    Jan 2011
    Location
    British Columbia
    Beans
    Hidden!
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Samba: spurious files, changing permissions in folder

    Congratulations and welcome to the club! I'm an old XBOX fan too. I also made an XBMC machine and used it to play back my 1st-born's pictures/movies to our visitors while we were still in the hospital.
    Been rockin it since xbox1
    local users, Samba DC users, Microsoft AD users?
    Network users, that have users accounts on the server as well. linux and windoes
    Are you saying that "driver" files magically appear when you create a folder? What is the path you are talking about? Is it somewhere under /srv?
    Yes magical. The shared folders are on Btrfs raids, mounted "on the system" so .... /apples/banana/stuffthatworks & apples/bananas/stuffthatdoesn'twork
    Your primary tools are: "chown" to set user and group ownership, "chmod" to set file/folder permissions for the user, the group and everyone else not the user or group.
    Everytime i have moved, made, and/or remade a directory, i have chmod to 777.
    Here is a nice overview of Linux permissions.
    Thanks for the link, I pretty sure that i read it before, with no avail

    Thanks @lhammonds

    Maybe it is chown??? Thoughts?

Bookmarks

Posting Permissions

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