Ebox filesharing - permission in group folder

Discussion in 'HOWTO-Related Questions' started by tennents, Oct 31, 2007.

  1. tennents

    tennents New Member

    Hi all!
    I just installed ebox server, following the how-to.
    I only need file and printer sharing, so i uninstalled all the unneeded modules.
    than I created 2 users in the same group. the users can access to their own folder and to the group's folder. the problem is that if I create a file in the group's folder with one account i cannot delete/rename it whith the other account! It's possible to fix the file permissions?
    The user 1 is called "prova", the group "uno".
    This is the ls -l output in the group's folder:
    Code:
    -rwxrwxr--  1 prova uno 2 2007-10-31 00:14 test
    
    and this is my smb.conf
    Code:
    [global]
     unix charset = LOCALE
     workgroup = tornasole
     netbios name = Server
     server string = File Server Tornasole
     enable privileges = yes
     interfaces = eth0,lo
     bind interfaces only = Yes
     passdb backend = ldapsam:ldapi://%2fvar%2frun%2fldapi
     log level = 1
     syslog = 0
     log file = /var/log/samba/%m
     max log size = 50
     smb ports = 137 138 139 445
     name resolve order = wins bcast hosts
     time server = Yes
     printcap name = CUPS
     wins support = Yes
     ldap suffix = dc=ebox
     ldap machine suffix = ou=Computers
     ldap user suffix =
     ldap group suffix =
     ldap idmap suffix = ou=Idmap
     ldap admin dn = cn=admin,dc=ebox
     map acl inherit = Yes
     printing = cups
     printer admin = Administrator
    
    
    [homes]
     comment = Home Directories
     valid users = %S
     read only = No
     browseable = No
    
    [_uno]
            path = /home/samba/groups/uno
            valid users = @"uno"
            force group = "uno"
            force create mode = 0770
            force directory mode = 1770
            printable = No
            read only = No
            browseable = Yes
    
    
    [ebox-internal-backups]
     path = /var/lib/ebox/conf//backups
     read only = No
     valid users = @"Domain Admins"
     admin users = @"Domain Admins"
     force group = ebox
     force user = ebox
     browseable = Yes
    
    I repeat: I need to make possible for everyone to delete everything from the group's folder, not only for the creator of the file!
     
  2. tennents

    tennents New Member

    i temporary resolved using "force user", but i don't like this solution!!!
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Try
    Code:
    force create mode = 0777
     

Share This Page