Hello, I'm pleased to become a list member. Excuse me! I need your help. My problem is that: We have a Samba server running on Linux, this is a PDC in our LAN. There is a share in the server with full access for any user (that's the idea), but when a user writtes a file in the share, he/she becomes the new file owner, and the write permission is exclusively for him/her, consequently the rest of users can not do any modification over this file. I have added to the share description the option "dos filemode = yes" (by default is false), but the problem persists. Do you have any idea? Thank you. Best Regards, Jose A. Gaspar jose@centralpr.com
i am guessing .. :) check your create mode for the share .. is it that the sticky bit is set ? :) -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of jose Sent: Friday, November 23, 2001 8:06 PM To: samba@lists.samba.org Subject: file ownership Hello, I'm pleased to become a list member. Excuse me! I need your help. My problem is that: We have a Samba server running on Linux, this is a PDC in our LAN. There is a share in the server with full access for any user (that's the idea), but when a user writtes a file in the share, he/she becomes the new file owner, and the write permission is exclusively for him/her, consequently the rest of users can not do any modification over this file. I have added to the share description the option "dos filemode = yes" (by default is false), but the problem persists. Do you have any idea? Thank you. Best Regards, Jose A. Gaspar jose@centralpr.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
My [shared_folder] section looks like this:
[shared_folder]
comment = Directory for file sharing
path = /home/office/shared_folder
valid users = @office
write list = @office
force group = office
create mask = 0660
directory mask = 0770
When a file or dir is created I just force it the the office group and set group
persmissions of files to read/write and for direcotrys to read/write/execute.
So every user that is in the office group can share files with each other. We
use that
shared folder to copy files across different workgroups. All files older then 1
month is
deleted automaticly using a cron script to keep this directory clean.
Ries
On 23 Nov 2001, at 13:05, jose wrote:
> Hello,
>
> I'm pleased to become a list member.
>
> Excuse me! I need your help.
>
> My problem is that: We have a Samba server running on Linux, this is a
> PDC in our LAN. There is a share in the server with full access for any
> user (that's the idea), but when a user writtes a file in the share,
> he/she becomes the new file owner, and the write permission is
> exclusively for him/her, consequently the rest of
> users can not do any modification over this file.
>
> I have added to the share description the option "dos filemode =
yes"
> (by default is false), but the problem persists.
>
>
> Do you have any idea?
> Thank you.
>
> Best Regards,
> Jose A. Gaspar
> jose@centralpr.com
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
Hello to you too... isn't it a case of "sticky bit" in that folder in question? Can you post the section of your smb.conf where you declare that share??? Ivan> Hello, > > I'm pleased to become a list member. > > Excuse me! I need your help. > > My problem is that: We have a Samba server running on Linux, this is a > PDC in our LAN. There is a share in the server with full access for any > user (that's the idea), but when a user writtes a file in the share, > he/she becomes the new file owner, and the write permission is > exclusively for him/her, consequently the rest of > users can not do any modification over this file. > > I have added to the share description the option "dos filemode = yes" > (by default is false), but the problem persists. > > > Do you have any idea? > Thank you. > > Best Regards, > Jose A. Gaspar > jose@centralpr.com > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > >