[Samba] Re: File Rights

Adi Nugraha adi at westindo.co.id
Thu Apr 28 10:15:05 GMT 2005


Mine behaves just like that already, but I dob't know how,  because it was
like that from the beginning, here's my share configuration

[Department]
        comment = Department Only Sharing Folder
        path = /var/share/Dept
        read only = No
        create mask = 0770
        force create mode = 0770
        force security mode = 0660
        directory mask = 0770
        force directory mode = 0770
        force directory security mode = 01770
        inherit permissions = Yes
        inherit acls = Yes
        veto files = /*.mp3/*.MP3/


----- Original Message -----
From: "weetat" <weetat.yeo at wavex-tech.com>
To: <samba at lists.samba.org>
Sent: Thursday, April 28, 2005 4:55 PM
Subject: [Samba] Re: File Rights


> Hello Gerald !
>
>    Thanks for your response.
>    Your answer , force user parameter is not what i looking for.
>    The force user parameter will change user id however not dynamically
> or not depend to user who login .
>    I need to change the user id for file name depending to whoever user
> id who modified the file in the samba shares.
> Any clue ?
>
> Thanks.
> - weetat
>
>
>
> Gerald Cenir wrote:
> > Hello Weetat!
> >
> > Try this one:
> >
> > [Documents]
> >         comment=Documents Folder
> >         path = /home/documents
> >         force user = nicklee
> >         read only = no
> >         valid users = mgmt administrator
> >
> > regards,
> > Gerald
> >
> > -----Original Message-----
> > From: samba-bounces+gcenir=globalsources.com at lists.samba.org
> > [mailto:samba-bounces+gcenir=globalsources.com at lists.samba.org]On Behalf
Of
> > weetat
> > Sent: Thursday, April 28, 2005 5:14 PM
> > To: samba at lists.samba.org
> > Subject: [Samba] File Rights
> >
> > Hi all ,
> >
> >    I am using Fedora core 2 and Samba 3.0 .
> >    I have an question regarding user right in the samba .
> >
> >     For example :
> >
> >   -rwxrw----  1 marvinkoh mgmt  83456 Apr 23 11:21
WX-Q-0504-8601-NLB.doc
> >
> >   When a user called nicklee login to samba ,who is in the same group
> > with marvinkoh , modified the doc file  , i would like the userid of
> > file to be change to nick lee , as show below :
> >
> > -rwxrw----  1 nicklee mgmt  83456 Apr 23 19:14 WX-Q-0504-8602-NLB.doc
> >
> > Any ideas how to do this ? man smb.conf no luck.
> >
> > thanks
> > - weetat
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list