KLEIN Stephane
2007-Oct-14 21:40 UTC
[Samba] can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
Hi, I use samba to share some files between some clients. I would like than these files are always view with -rw-rw-rw- rights by all clients event if someone change file access permissions. Can I configure smb.conf to do that ? Thanks for your help. Stephane
Greg Byshenk
2007-Oct-14 22:03 UTC
[Samba] can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> I use samba to share some files between some clients. I would like than > these files are always view with -rw-rw-rw- rights by all clients event > if someone change file access permissions.> Can I configure smb.conf to do that ?I don't think that you can force Samba to have them "view"ed that way, as the permissions in Samba are dependent upon the permissions on the files themselves (on the server). But you can force the permissions to be set in a given way by Samba when files are created or modified. Look at 'force create mode' in the smb.conf man page. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL
Greg Byshenk
2007-Oct-15 12:37 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-15 13:59 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .
Greg Byshenk
2007-Oct-15 15:56 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-15 17:11 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-15 18:06 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-15 18:50 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-15 19:49 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-15 20:49 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-15 21:49 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-15 23:12 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-15 23:49 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 00:48 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 01:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 02:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 03:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .............. -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 04:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ............... -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 05:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ................ -- 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 .............. -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 06:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ................. -- 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 ............... -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 07:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .................. -- 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 ................ -- 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 .............. -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 08:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ................... -- 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 ................. -- 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 ............... -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 09:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 .................... -- 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 .................. -- 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 ................ -- 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 .............. -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 10:47 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ..................... -- 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 ................... -- 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 ................. -- 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 ............... -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .
Greg Byshenk
2007-Oct-16 11:46 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ...................... -- 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 .................... -- 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 .................. -- 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 ................ -- 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 .............. -- 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 ............ -- 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 .......... -- 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 ........ -- 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 ...... -- 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 .... -- 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 .. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba .
Greg Byshenk
2007-Oct-16 12:46 UTC
[Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?
On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??: > > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:> >> I use samba to share some files between some clients. I would like than > >> these files are always view with -rw-rw-rw- rights by all clients event > >> if someone change file access permissions. > > > >> Can I configure smb.conf to do that ?> > I don't think that you can force Samba to have them "view"ed that way, > > as the permissions in Samba are dependent upon the permissions on the > > files themselves (on the server).> > But you can force the permissions to be set in a given way by Samba when > > files are created or modified. Look at 'force create mode' in the > > smb.conf man page.> I know force create mode, force directory mode parameters but how can I > force permission when one user launch "chmod" ?I'm not sure what you are asking when you refer to 'launch "chmod"'. If you mean 'change permissions from windows', then 'force create mode' should do what you want. force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bit- wise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. Note the "is being created *or having its permissions changed*"... If you mean 'actually running "chmod" on the server', then there is nothing that Samba can do about that, as that is something that is occurring on the server itself, below the level of Samba. What might work to allow full access to everythign in the share-- regardless of permissions -- would be to assign 'admin users' to the share in question... but read the warnings about this. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL -- 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 ....................... -- 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 ..................... -- 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 ................... -- 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 ................. -- 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 ............... -- 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 ............. -- 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 ........... -- 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 ......... -- 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 ....... -- 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 ..... -- 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 ... -- 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 .