[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Samba and permissions



I'm noticing that Samba 2.0.7 is creating files on my server owned by
root.alec or root.foo instead of the permissions of the user who owns the
home directory. Is there a way to get it creating files with the right
permissions, such as alec.alec or foo.foo depending on the user?

Relevant portions of my smb.conf are below.

Thanks,
Alec


# Samba config file created using SWAT
# Date: 2000/10/02 16:34:02

# Global parameters
[global]
        workgroup = SHADOWSTAR
        netbios name = TWEETY
        server string = Samba %v
        encrypt passwords = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        announce version = 4.0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        domain logons = Yes
        os level = 128
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        admin users = alec
        hosts allow = <some hosts>
        hosts deny = <some hosts>
        level2 oplocks = Yes
        follow symlinks = No

[homes]
        comment = Home Directories
        writeable = Yes
        security mask = 0744
        force security mode = 00
        directory security mask = 0755
        force directory security mode = 00
        browseable = No




Reply to: