Samba mounted subdirectories: ownerships damaged

Discussion in 'Linux Networking' started by rtn, Jun 17, 2005.

  1. rtn

    rtn Guest

    The file server of our school has been "upgraded", presumebly to
    Windows 2003.

    I use Linux, mounting my file share with Samba. Since the the upgrade
    all the subdirectories in my "share" get wrong uid/gid. I found out
    that those uid/gid are the ones on that server. In end effect, I can
    not read my own files.

    This is how I do it. I can do any more debugging on the client side.
    The server ofcourse is out-of-bounds for any "intruders" like me :-(

    ====================
    - /etc/fstab:
    //mustang/rtn /home/rtn/mustang smbfs
    user,noauto,uid=1000,gid=100,username=rtn 0 0

    - [email protected]$ mkdir ~/mustang

    - suid-bit of smbmount is set

    - [email protected]$ mount ~/mustang
    Password:

    - [email protected]$ ls -ld ~/mustang
    drwxr-xr-x 1 rtn users 4096 2005-06-13 16:14 /home/rtn/mustang/

    - [email protected]$ ls -l ~/mustang
    drwx------ 1 10517 10000 0 2005-06-13 16:14 private
    drwxr-sr-x 1 10517 10000 0 2005-06-02 17:31 public
    drwx------ 1 10517 10000 0 2002-11-27 09:27 settings
    drwxr-s--- 1 10517 1000 0 2005-05-30 08:15 www
    ^wrong! should be rtn:users 1000:100
    =============

    I've tried with Samba 3.0.10 (Slackware 10.1 original) and
    self-compiled 3.0.14a.

    This must be a known issue. Any clue?
     
    rtn, Jun 17, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.