Results 1 to 7 of 7

Thread: MacOS client has completely different file permissions from Ubuntu Server

  1. #1
    Join Date
    Mar 2018
    Beans
    5

    Question MacOS client has completely different file permissions from Ubuntu Server

    So we have a problem at our company... We got a new server and we are using Ubuntu Server 17.10. The Samba Version we have installed is 4.6.7-Ubuntu.
    The problem is that we have these permissions on the server:
    Code:
    drwxr-xr-x 3 corpuser corpuser 4096 Mar 9 2017 virtuell1/
    drwxr-xr-x 4 corpuser corpuser 4096 Oct 12 2011 virtuell10/
    drwxr-xr-x 3 corpuser corpuser 4096 Jun 16 2014 virtuell2/
    drwxr-xr-x 3 corpuser corpuser 4096 Feb 24 2014 virtuell3/
    drwxr-xr-x 3 corpuser corpuser 4096 Jun 24 2016 virtuell4/
    drwxr-xr-x 3 corpuser corpuser 4096 Jul 22 2016 virtuell5/
    drwxr-xr-x 4 corpuser corpuser 4096 Jan 22 10:25 virtuell6/
    drwxr-xr-x 3 corpuser corpuser 4096 May 11 2017 virtuell7/
    drwxr-xr-x 5 corpuser corpuser 4096 Jan 16 12:24 virtuell8/
    drwxr-xr-x 3 corpuser corpuser 4096 Mar 28 2014 virtuell9/
    and when we access the server as a client in MacOS (Version: 10.12.6) we get to see these permissions:
    Code:
    drwx------  1 mr.robot  staff      16384  9 Mär  2017 virtuell1
    drwx------  1 mr.robot  staff      16384 12 Okt  2011 virtuell10
    drwx------  1 mr.robot  staff      16384 16 Jun  2014 virtuell2
    drwx------  1 mr.robot  staff      16384 24 Feb  2014 virtuell3
    drwx------  1 mr.robot  staff      16384 24 Jun  2016 virtuell4
    drwx------  1 mr.robot  staff      16384 22 Jul  2016 virtuell5
    drwx------  1 mr.robot  staff      16384 22 Jan 10:25 virtuell6
    drwx------  1 mr.robot  staff      16384 11 Mai  2017 virtuell7
    drwx------  1 mr.robot  staff      16384 16 Jan 12:24 virtuell8
    drwx------  1 mr.robot  staff      16384 28 Mär  2014 virtuell9
    This is not what we are expecting to see and we have absolutely zero clue as to why this might be happening... We want the permissions for the client to be the exact same as on the server and we are all signed in as "corpuser" in Samba.
    We did try to solve it using this solution, but sadly this didn't help us...

    If you have any Idea then please feel free to comment or answer.

  2. #2
    Join Date
    Dec 2009
    Beans
    6,772

    Re: MacOS client has completely different file permissions from Ubuntu Server

    It's not clear to me why you want them to match.

    ** What you posted looks normal and exactly the same thing would happen if the client was running Ubuntu.

    ** If the permissions on the client matched the permissions on the server mr.robot would not have write access to the share.

    ** Unless you added it yourself you probably don't have a corpuser user on the mac anyway.

    The username and password you pass to the server to access the share is relative to the server. It does not translate to the ownership or mode of the client. When mr.robot creates a new file on the share it will show up as being owned by mr.robot on the client and corpuser on the server because corpuser is the one who logged into the server.

  3. #3
    Join Date
    Mar 2018
    Beans
    5

    Re: MacOS client has completely different file permissions from Ubuntu Server

    Quote Originally Posted by Morbius1 View Post
    It's not clear to me why you want them to match.
    I don't think you really get what the problem is about (no offense, maybe I explained it wrong).
    We once had a problem where we copied a php file onto a server and it had the wrong permissions. It couldn't be executed.

    Quote Originally Posted by Morbius1 View Post
    ** Unless you added it yourself you probably don't have a corpuser user on the mac anyway.
    We added it.

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: MacOS client has completely different file permissions from Ubuntu Server

    Moved to Server Platforms.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  5. #5
    Join Date
    Mar 2018
    Beans
    5

    Re: MacOS client has completely different file permissions from Ubuntu Server

    *bump*

  6. #6
    Join Date
    Mar 2018
    Beans
    5

    Re: MacOS client has completely different file permissions from Ubuntu Server

    *bump *

  7. #7
    Join Date
    Mar 2018
    Beans
    5

    Re: MacOS client has completely different file permissions from Ubuntu Server

    *bump* If you have any questions you can ask

Tags for this Thread

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
  •