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
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@lists.samba.org [mailto:samba-bounces+gcenir=globalsources.com@lists.samba.org]On Behalf Of weetat Sent: Thursday, April 28, 2005 5:14 PM To: samba@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
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@lists.samba.org > [mailto:samba-bounces+gcenir=globalsources.com@lists.samba.org]On Behalf Of > weetat > Sent: Thursday, April 28, 2005 5:14 PM > To: samba@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 >