Re: [Samba] Samba Permissions vs Linux Permissions
On Sat, Nov 26, 2011 at 04:46:02PM -, Stephen Elliott wrote: I understand that Linux permissions override Samba permissions. But is it also the case that the Samba permissions override the Linux permissions? Example: I have a samba share called SHARE. This is disabled by default and is configured for write access by group MY_GROUP. The permissions of all files and folders within /c/SHARE are 777 (rwxrwxrwx). Now, if a user called David belonging to group users tried to access \\READYNAS\SHARE\document.doc would they have permission? I believe not but am looking for confirmation? My testing and understanding, leads me to the conclusion that both Samba and Linux permissions override each other. The most restrictive set win. Am I correct? Your understanding is basically correct. That said, override each other, is not really correct, though your second summary is close to the truth. That is, Samba permissions may be more restrictive than filesystem (Linux or otherwise) permissions, but may not be more open; in the end the filesystem is the master. -- greg byshenk - gbysh...@byshenk.net - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Trouble Using Samba 3.5.6 in ADS Domain
On Thu, Feb 24, 2011 at 01:00:36AM +0100, Robert Einsle wrote: [...] nsswitch.conf: --- cut --- passwd: compat winbind group: compat winbind shadow: compat winbind --- cut --- But a getent passwd dont shows me users from the ADS. Is anything missing? I've done it with this article: http://www.enterprisenetworkingplanet.com/netos/article.php/3487081/Join-Samba-3-to-Your--Active-Directory-Domain.htm Any hints? That article doesn't want to load for me at the moment, so I can't see what it says, but your 'nsswitch.conf' looks wrong. If you are using 'compat', then it needs to be the only entry for the database; you can't use 'compat' + something. I think you want either: passwd: winbind group: winbind shadow: winbind or: passwd: compat passwd_compat: winbind group: compat group_compat: winbind shadow: compat shadow_compat: winbind -- greg byshenk - gbysh...@byshenk.net - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] GPLv3 and Mac OS X
On Sat, Oct 30, 2010 at 08:48:19PM -0700, Jeremy Allison wrote: People only go to court if they think they can invalidate the license - it's a testiment to the GPL that so few actions actually make it that far. Eventually someone will make similar mistakes with GPLv3 that were made with GPLv3 and it'll end up being enforced by a court, just as GPLv2 was. But I hope that isn't with Samba - court cases are exhausting for everyone involved. If I may comment, this bit of the message seems a bit cavalier. Yes, it may be that someone goes to court if they think they can invalidate the license, but it is just as likely that a court case results when two parties disagree about what a particular license (or contract, or whatever) actually requires. In such cases, it can be stipulated that there is a misunderstaning on the part of at least one of the parties, but which of the parties is indeed 'misunderstanding' is for the court to decide. The goal of a legal action is to enforce one party's interpretation of the license; it the court that decides whether that interpretation actually -is- enforceable. And this is why some (people, companies, etc.) like to have a judgment by the courts: because there is then an official, legally correct and enforceable interpretation. -- greg byshenk - gbysh...@byshenk.net - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] (no subject)
On Sat, Feb 06, 2010 at 11:31:31AM +0100, kornel kornatka wrote: I Have a problem: I'm sharing ~600 folders on my samba server: [SHARE 192.168.0.20] comment = Private share for host 192.168.0.20 browseable = yes writable = yes path = /var/archives/USERS/192.168.0.20 public=yes hosts deny = 192.168. EXCEPT 192.168.0.20 [SHARE 192.168.0.21] comment = Private share for host 192.168.0.21 browseable = yes writable = yes path = /var/archives/USERS/192.168.0.21 public=yes hosts deny = 192.168. EXCEPT 192.168.0.21 . . . But any user can see all shares even those without permissions (each host can see ~600 shares and only one is working for him) I don't know how to hide shares for each host so that he can see only share created for him. For Example host 192.168.0.10 will see only SHARE 192.168.0.10 I'm not a samba expert, but what you're doing seems clumsy to me. Why not create a single share something like this: [privateshare] comment = Private share for local machines browseable = yes writable = yes path = /var/archives/USERS/%I public = yes hosts deny = 192.168. EXCEPT %I This allows every host to see just a single folder of its own -- and also makes for a much simpler smb.conf. -- greg byshenk - gbysh...@byshenk.net - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Bizarre - How did windows user setfacl for a file??
On Wed, Nov 12, 2008 at 01:46:45AM -0600, David C. Rankin wrote: In 8 years, since 2.02 (I think), I have never seen this behavior out of samba. I run a stand-alone server with WinXP clients. Somehow a legal assistant created (not intentionally mind you) files and directories with ACL attributes set: -rwxrwx---+ 1 cyndy ochiltree 21504 2008-10-28 16:48 AUTHORIZATION - employment.doc* -rwxrwx---+ 1 cyndy ochiltree 12804 2008-10-28 16:48 AUTHORIZATION - employment.pdf* drwxrwx---+ 2 cyndy ochiltree 4096 2008-10-29 16:56 Gregg, Joy/ -rwxrwx---+ 1 cyndy ochiltree 44544 2008-10-28 16:32 POA - BG Contingency New.doc* -rwxrwx---+ 1 cyndy ochiltree 48309 2008-10-28 16:31 POA - BG Contingency New.pdf* drwxrwx---+ 2 cyndy ochiltree 4096 2008-10-29 16:51 Roper, Buddy/ What in the heck? I found the setfacl --remove-all command that gets rid of this, but I'm still left wondering WTF happened in the first place? Moreover, how do I configure samba to make sure this never happens again? My config is: [...] I'm not sure for exactly how long, but Samba has supported extended ACLs for quite some time (if the underlying OS/filesystem has such support). To ensure that it is not there, you can either a) build samba without acl support; or b) disable extended ACLs on the filesystem. As for why it changed for you, I notice that the default configuration is now (for Samba-3.2.4, at least) --with-acl-support Include ACL support (default=auto) ... which I believe means that it will build in ACL support if the system has it. Perhaps this has changed recently? -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ads authentication and Solaris
On Mon, Sep 29, 2008 at 10:05:17AM -0700, William Wilson wrote: We have a number of Solaris servers that we run samba shares off of. So far, even using ads for authentication, we have to set up accounts so an entry is in the passwd file for the user. Is there any way to bypass passwd completely and just authenticate via the domain? I'm not currently running samba on Solaris, but have been playing a bit with using pure ADS auth on a FreeBSD machine, and it seems to work. What is required is to enable pam_winbind for ssh (and presumably for anything else desired, but I've only done ssh connections so far), set winbind for 'passwd' and 'group' entries in nsswitch.conf, and mount /home at /home/DOMAIN. Currently you have to login as DOMAIN\user, but I believe that setting 'winbind use default domain = yes' in smb.conf should allow bare usernames. (I haven't got so far as testing this, yet.) -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba locking with NFS backend.
On Mon, Jan 07, 2008 at 10:38:30PM +0100, Jan Hugo Prins wrote: I'm in a bit of a loss at the moment. We have the following situation, we are running Samba for a lot of small companies that need fileservices for there Windows Terminal Servers that they use through a thin client on a Fiber / Lan extention to our datacentre. We have this samba running on 2 linux hosts (Fedora Core 5 and Fedora 7) with a ldap backend for all the domains. This works ok, except for 1 thing. In the past we synced server1 to server2 every hour and when there was a problems with a server, the users would only loose 1 hour of work at most and server 2 would take over all configurations. So far so good, when there are not too much customers. But we have had some growth recently and we added a central NFS server to our setup. This server (Isilon IQ9000) is fully redundant so in theory we could put any number of Samba frontend servers in front of it, and we don't have to sync anymore. But now the problem, when we put the user data on the NFS backend, users are complaining that they are not able to edit documents in Word because they get a error that they can only open the file readonly. Excell the same problem. But copying a file for example works ok. In general you can divide the applications in 2 groups, 1 only readonly access to the data, and 1 no problem. [...] Is this a known issue with a sollution, or have I fould a problem here without a current sollution? I'm no Samba or Linux kernel expert, but in my experience, re-exporting is almost always a bad idea. I could be mistaken, but it strikes me that the best solution, if you have something like the Isilon system, would be to use the Isilon's own CIFS capabilities. What is the gain from exporting from the Isilon via NFS and then trying to re-export using a separate Samba server? -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] HTTP authentication
On Mon, Dec 31, 2007 at 11:02:05PM +0200, Tero M?ntyvaara wrote: Is it possible to authenticate at WWW page/site by Samba server? Assuming you mean using a Samba DC as an authentication backend for Apache... (and with the caveat that I've never used these modules), then I think the answer is problably yes. Check out mod_ntlm http://modntlm.sourceforge.net/ or auth_ldap http://www.rudedog.org/auth_ldap/ (and there may be other options, as well). -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with ACL and Samba
On Tue, Dec 18, 2007 at 10:15:42PM -0200, Felipe Tocchetto wrote: I am facing a strange problem that I could not solve, so, maybe you can help me. Look at this situation: I created a new directory with those ACLs (through Samba using Windows XP) [EMAIL PROTECTED] /home/smb/adm]# getfacl teste #file:teste #owner:1002 #group:1006 user::rwx group::rwx group:suporte:rwx group:administ:rwx mask::rwx other::--- [EMAIL PROTECTED] /home/smb/adm]# getfacl -d teste #file:teste #owner:1002 #group:1006 user::rwx group::rwx group:suporte:rwx group:administ:rwx mask::rwx other::--- My ACLs are right, ok, now I will copy a XLS file to that folder: [EMAIL PROTECTED] /home/smb/adm]# getfacl teste/excel-test.xls #file:teste/excel-test.xls #owner:1002 #group:1006 user::rwx group::rw- group:suporte:rwx group:administ:rwx mask::rwx other::--- OK, the samba server inhert the permissions and the ACLs, everything is fine until now. But when I edit this file with MS Excel, and save it, look what happen to the ACLs: [EMAIL PROTECTED] /home/smb/adm]# getfacl teste/excel-test.xls #file:teste/excel-test.xls #owner:1002 #group:1006 user::rwx group::--- group:suporte:rwx mask::rwx other::--- The ACL entry group:administ:rwx just have gone after I save the file. It happens with Windows XP, Vista, Office 2003 and 2007. My samba version is Samba version 3.0.26a, my SO is FreeBSD 6.2. I installed samba through Ports. Anybody knows what is wrong? I'm not sure if it is the cause, but what are your default ACLs for the directory in question? When you copy in a file from Windows, I think that it will preserve its permissions, but if you edit and save, you are actually creating a new file, which will be created based on the defaults for that location/user. Check the output of 'gefacl -d teste'. -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with ACL and Samba
On Wed, Dec 19, 2007 at 08:57:41AM -0200, Felipe Tocchetto wrote: I put the defaults acls in my previous email, take a look: [EMAIL PROTECTED] /home/smb/adm]# getfacl -d teste #file:teste #owner:1002 #group:1006 user::rwx group::rwx group:suporte:rwx group:administ:rwx mask::rwx other::--- The default acls have the entries: group:suporte:rwx group:administ:rwx Sorry, my mistake (they were there, but I misread). But after I edit the file, one of these disapear. I read something about a samba bug: https://bugzilla.samba.org/show_bug.cgi?id=2346 But it has been fixed a long time ago. Any tips? Not certain. Are there any masks set in your smb.conf? If you create a new file within Excel, what are the permissions on it? I've just tested this myself, and cannot recreate the problem. I can copy in an Excel file, edit it (WinXP SP2), and save it, and I get the correct ACLs on the server. Server is very slightly different than yours, but not much: FreeBSD 6.3-PRERELEASE (Nov 12 2007) samba-3.0.26a_1,1 Also, you could try turning up the log level and then looking for errors. -greg On Dec 19, 2007 8:50 AM, Greg Byshenk [EMAIL PROTECTED] wrote: On Tue, Dec 18, 2007 at 10:15:42PM -0200, Felipe Tocchetto wrote: I am facing a strange problem that I could not solve, so, maybe you can help me. Look at this situation: I created a new directory with those ACLs (through Samba using Windows XP) [EMAIL PROTECTED] /home/smb/adm]# getfacl teste #file:teste #owner:1002 #group:1006 user::rwx group::rwx group:suporte:rwx group:administ:rwx mask::rwx other::--- [EMAIL PROTECTED] /home/smb/adm]# getfacl -d teste #file:teste #owner:1002 #group:1006 user::rwx group::rwx group:suporte:rwx group:administ:rwx mask::rwx other::--- My ACLs are right, ok, now I will copy a XLS file to that folder: [EMAIL PROTECTED] /home/smb/adm]# getfacl teste/excel-test.xls #file:teste/excel-test.xls #owner:1002 #group:1006 user::rwx group::rw- group:suporte:rwx group:administ:rwx mask::rwx other::--- OK, the samba server inhert the permissions and the ACLs, everything is fine until now. But when I edit this file with MS Excel, and save it, look what happen to the ACLs: [EMAIL PROTECTED] /home/smb/adm]# getfacl teste/excel-test.xls #file:teste/excel-test.xls #owner:1002 #group:1006 user::rwx group::--- group:suporte:rwx mask::rwx other::--- The ACL entry group:administ:rwx just have gone after I save the file. It happens with Windows XP, Vista, Office 2003 and 2007. My samba version is Samba version 3.0.26a, my SO is FreeBSD 6.2. I installed samba through Ports. Anybody knows what is wrong? I'm not sure if it is the cause, but what are your default ACLs for the directory in question? When you copy in a file from Windows, I think that it will preserve its permissions, but if you edit and save, you are actually creating a new file, which will be created based on the defaults for that location/user. Check the output of 'gefacl -d teste'. -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RE: configure: error: C compiler cannot create executables
On Thu, Nov 15, 2007 at 01:00:19PM -0800, Morimoto, Mark K wrote: I get this when I run ./configure. I have searched for other problems and others who had the problem say its due to cc not being installed. Well its not but I have gcc. So I saw where someone put define CC=gcc and then ran the ./configure command. I tried it but still the same error. So what is the solution? Should I install C? I am running this on a solaris 9 on x86. What does the 'config.log' say? Does it indicate exactly what it is trying to do or which compiler it is trying to use? I've seen this error (C compiler cannot create executables) when someone has attempted to use the Intel compilers when they don't have a license for them. I think that you might also see it if you are missing some libraries. But the log should provide at least some hints. # ./configure SAMBA VERSION: 3.0.26a LIBREPLACE_LOCATION_CHECKS: START checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 LIBREPLACE_LOCATION_CHECKS: END LIBREPLACE_CC_CHECKS: START checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. # echo $PATH /bin:/usr/bin:/usr/ucb:/etc:/usr/atria/bin:/usr/dt/bin:/usr/sbin:/usr/ openwin/bin:/opt/gcc/bin instructions: https://lists.samba.org/mailman/listinfo/samba -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Mail loops... [was Re: [Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ?]
My apologies for this continuing flood of messages, but they are not coming from me. Rather, as indicated in the mail headers (included below) it appears that they are coming from a news-to-mail gateway at UseNetServer.com (a group with which I have no connection). I have sent a message to UseNetServer.com, but so far have recieved only a meaningless response from a support person who appears not even to have _read_ the messag. If anyone has any contacts with UseNetServer.com and would care to contact them regarding this matter, I would have no complaints. Again, my apologgies, but despite these messages coming From: me, I do not see anything more I can do to stop them. -greg byshenk # From [EMAIL PROTECTED] Tue Oct 16 11:47:25 2007 Return-Path: [EMAIL PROTECTED] Received: from lists.samba.org (mail.samba.org [66.70.73.150]) by core.byshenk.net (8.14.1/8.14.1) with ESMTP id l9G9lHsF046518 for [EMAIL PROTECTED]; Tue, 16 Oct 2007 11:47:18 +0200 (CEST) (envelope-from [EMAIL PROTECTED]) Received: from dp.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 45A27162AE7 for [EMAIL PROTECTED]; Tue, 16 Oct 2007 09:47:17 + (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on core.byshenk.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=failed version=3.2.3 X-Original-To: samba@lists.samba.org Delivered-To: samba@lists.samba.org Received: from eweka2.usenetserver.com (eweka2.usenetserver.com [208.49.80.202]) by lists.samba.org (Postfix) with ESMTP id 9839F162ABE for samba@lists.samba.org; Tue, 16 Oct 2007 09:46:34 + (GMT) Received: from eweka2.usenetserver.com (eweka2.usenetserver.com [127.0.0.1]) by eweka2.usenetserver.com (8.12.11/8.12.11) with ESMTP id l9G9kXT7005960 for samba@lists.samba.org; Tue, 16 Oct 2007 09:46:33 GMT Received: (from [EMAIL PROTECTED]) by eweka2.usenetserver.com (8.12.11/8.12.11/Submit) id l9G9kXRG005959; Tue, 16 Oct 2007 09:46:33 GMT Resent-Date: Tue, 16 Oct 2007 09:46:33 GMT Resent-From: news [EMAIL PROTECTED] Resent-Message-Id: [EMAIL PROTECTED] Path: EVERESTKC.NET-a2kHrUvQQWlmc!not-for-mail From: Greg Byshenk [EMAIL PROTECTED] Newsgroups: linux.samba Subject: Re: [Samba] Re: can I configure smb.conf to always publish share files with -rw-rw-rw- permission ? Date: Tue, 16 Oct 2007 10:50:12 +0200 Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] X-Greylist: delayed 419 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 23:11:50 GMT X-Greylist: delayed 990 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 18:06:03 GMT X-Greylist: delayed 1313 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 17:10:54 GMT X-Greylist: delayed 3359 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 15:56:01 GMT X-Greylist: delayed 2740 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 13:58:41 GMT X-Greylist: delayed 2819 seconds by postgrey-1.24 at dp.samba.org; Mon, 15 Oct 2007 12:37:35 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Resent-To: samba@lists.samba.org Organization: linux.* mail to news gateway X-Original-Cc: KLEIN St?phane [EMAIL PROTECTED] X-Original-Date: Mon, 15 Oct 2007 11:31:12 +0200 X-Original-Message-ID: [EMAIL PROTECTED] X-Original-References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] X-Original-Lines: 56 X-Original-Date: Mon, 15 Oct 2007 13:30:18 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 52ff547135407ef7b7d1a31521 X-Original-Date: Mon, 15 Oct 2007 14:40:05 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 6a8094713675cef7b7d1a25423 X-Original-Date: Mon, 15 Oct 2007 16:00:16 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 6712047138071ef7b7d1a14067 X-Original-Date: Mon, 15 Oct 2007 18:00:20 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: bfb87471399faef7b7d1a18790 X-Original-Date: Mon, 15 Oct 2007 19:20:09 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 503df4713a82cef7b7d1a28730 X-Original-Date: Mon, 15 Oct 2007 20:10:12 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 630c14713b63bef7b7d1a12634 X-Original-Date: Mon, 15 Oct 2007 21:00:22 +0200 X-Original-Newsgroups: linux.samba X-Original-X-Complaints-To: [EMAIL PROTECTED] X-Original-X-Trace: 9a1c24713c428ef7b7d1a32622 X-Original-Date: Mon, 15 Oct 2007 22:00
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 +, 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 viewed 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 - [EMAIL PROTECTED] - 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
Re: [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 +, 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 viewed 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 - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't chown a file to an ADS username
On Tue, Oct 09, 2007 at 09:33:40AM -0400, Eric Diven wrote: Yes, these are only winbind startup messages, that's exactly the problem. I had in my nsswitch.conf file: passwd: compat winbind shadow: compat winbind group: compat winbind which produced only the local names To test, I changed nsswitch.conf as follows: passwd: winbind [UNAVAIL=retunr] compat shadow: compat winbind #so I have some hope of being able to log in if I didn't get it changed back, maybe group: winbind [UNAVAIL=return] compat and got *nothing* back from getent passwd. I'm guessing this means I've got a .so file in the wrong place somewhere. Following the instructions online, I have /lib/libnss_winbind.so.2 /lib/libnss_winbind.so - /lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so - /lib/libnss_winbind.so.2 This sure looks correct, but it's pretty clear that winbind isn't getting called. This is just a shot in the dark, but... - Are you calling 'getent passwd DOMAIN\\user'? - If not, do you have 'winbind use default domain = yes set? -greg -Original Message- From: Stas [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 5:04 PM To: Eric Diven Cc: samba@lists.samba.org Subject: Re: [Samba] Can't chown a file to an ADS username the winbindd.log you posted contains winbind startup messages? if not try to restart winbind and check winbind log for errors . /etc/nsswitch.conf contains winbind related strings? On 10/8/07, Eric Diven [EMAIL PROTECTED] wrote: I'm not actually getting much from it. I'm assuming that all of winbinds logging goes to [logpath]/winbindd.log. If that's the case, I'm seeing nsswitch related stuff happening when winbind starts up, but not when I run getent passwd. I'm running winbind at debug level 3. [EMAIL PROTECTED] ~]# cat /var/log/samba/winbindd.log [2007/10/08 13:18:23, 2] lib/interface.c:add_interface(81) added interface ip=192.168.100.80 bcast=192.168.100.255 nmask=255.255.255.0 [2007/10/08 13:18:23, 2] lib/interface.c:add_interface(81) added interface ip=192.168.100.80 bcast=192.168.100.255 nmask=255.255.255.0 [2007/10/08 13:18:23, 2] lib/tallocmsg.c:register_msg_pool_usage(61) Registered MSG_REQ_POOL_USAGE [2007/10/08 13:18:23, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2007/10/08 13:18:23, 2] nsswitch/winbindd_util.c:add_trusted_domain(175) Added domain EDSI EDSI.EDSI-INT.COM S-1-5-21-1993962763-329068152-1801674531 [2007/10/08 13:18:23, 2] nsswitch/winbindd_util.c:add_trusted_domain(175) Added domain LOCALHOST S-1-5-21-9612232-2512366426-966941693 [2007/10/08 13:18:23, 2] nsswitch/winbindd_util.c:add_trusted_domain(175) Added domain BUILTIN S-1-5-32 [2007/10/08 13:18:23, 3] nsswitch/winbindd_misc.c:winbindd_interface_version(483) [0]: request interface version [2007/10/08 13:18:23, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(516) [0]: request location of privileged pipe [2007/10/08 13:18:23, 3] nsswitch/winbindd_misc.c:winbindd_ping(462) [0]: ping [EMAIL PROTECTED] ~]# This is the result of clearing the log, restarting samba, and running getent passwd. Nothing gets added to the log when I run it. It's greek to me what the stuff from winbind start up means, but I'm a little suspicious that nothing shows up on getent passwd. ~Eric -Original Message- From: Stas [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 12:50 PM To: Eric Diven Cc: samba@lists.samba.org Subject: Re: [Samba] Can't chown a file to an ADS username winbind's log may be helpful On 10/8/07, Eric Diven [EMAIL PROTECTED] wrote: I've got a samba install on Linux with winbind installed, etc. I've configured it the same as I have under Solaris, but for some reason, I can't chown a file to an AD username. I have joined the box to the domain, I can wbinfo -u/-g and get lists of users and groups on the domain. When I run getent passwd or getent group, however, I don't see any of the domain users and groups. I have winbind enum users and groups = yes in the smb.conf file. Eventually, I need to be able to accomplish this with enum users and groups = no for a large domain, but I'm trying to duplicate a problem we're have with Solaris. Any ideas? I'm happy to furnish further info/configs/logs on request. -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] setfacl(1) - Can FreeBSD's ACLs contain groups from NT/AD domains ?
On Mon, Aug 06, 2007 at 05:27:50PM +0800, Wilkinson, Alex wrote: I have FreeBSD 7.0-CURRENT #1: Wed Jul 25 authenticating successfully against active directory via samba's winbindd(8). I need to manage samba shares via FreeBSD ACLs and CIFS ACLs. From my reading of setfacl(1) I should be able to set group permissions using the syntax of DOMAIN\group-name. For example: #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test However, when I do this on FreeBSD -CURRENT I get the following error: #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test setfacl: g:MYDOMAIN\mygroupname: Invalid argument From a quick Google it looks like Linux ACLs can do the aforementioned [http://www.techtutorials.net/blogs/index.php?mode=viewuseruser_id=7]. Is anyone successfully managing there Samba shares via NT/AD groups using FreeBSD ACLs ? FreeBSD ACLs work, as well. sambaserver# mkdir z-test sambaserver# chown gbytest:users z-test/ sambaserver# getfacl z-test/ #file:z-test/ #owner:1361 #group:100 user::rwx group::r-x mask::r-x other::r-x sambaserver# setfacl -m u:ADDOMAIN\\gbytest:rwx,g:ADDOMAIN\\domain\ users:rx z-test/ sambaserver# getfacl z-test/ #file:z-test/ #owner:1361 #group:100 user::rwx user:gbytest:rwx group::r-x group:domain users:r-x mask::rwx other::r-x sambaserver# This is on 6-STABLE, but it has worked on CURRENT also (though I don't have a machine running now), configured using idmap_rid (and 'winbind use default domain = yes'). At some point in the past when I was testing, I saw the same sort of errors as above. This was before I set idmap_rid (and configured samba with experimental modules), so it may have been related to this change. Do the domain users/groups show up using 'id' and 'wbinfo'? -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.25a - FreeBSD - permissions problem?
On Tue, Jun 12, 2007 at 06:25:13PM +0200, Greg Byshenk wrote: I have a problem with the latest Samba (3.0.25a) running under FreeBSD (recent STABLE: FreeBSD 6.2-STABLE #41: Mon Jun 11 19:24:30 CEST 2007). I run multiple Samba/FreeBSD file servers (in a Windows 2003 domain with Windows 2003 DCs), and everything worked quite nicely until this week. After an upgrade (both Samba and OS), I have a serious problem with access. [...] As a followup: my apologies for the noise, as this was not a Samba problem. After reverting to Samba-3.0.24 (with the problem remaining present), further research indicated that the issue was related to the Domain, and not the Samba upgrade. -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.25a - FreeBSD - permissions problem?
I have a problem with the latest Samba (3.0.25a) running under FreeBSD (recent STABLE: FreeBSD 6.2-STABLE #41: Mon Jun 11 19:24:30 CEST 2007). I run multiple Samba/FreeBSD file servers (in a Windows 2003 domain with Windows 2003 DCs), and everything worked quite nicely until this week. After an upgrade (both Samba and OS), I have a serious problem with access. I am using pam_winbind with windbind in my nsswitch.conf so that I can use Windows users and groups, and winbind itself seems to be working properly (I can enumerate, can see the the proper permissions on the servers under BSD, etc.). But, for some reason that is not clear to me (perhaps I am missing something obvious...), secondary groups seem to be ignored. In a bit more detail: I have a share that needs to be readable by all users (eg: all members of DOMAIN#'domain users'), but writeable only by members of two administrative groups (eg: DOMAIN#'softwareadmin'). The problem is that even with the share set to full control for 'softwareadmin' and read-execute for 'domain users', members of 'softwareadmin' cannot write to it (and it doesn't seem to make any difference if the permissions are extended ACLs or not). The members of 'softwareadmin' are also members of 'domain users', and they can write to the share if I give 'domain users' full access -- but that defeats the purpose, because then the share can be overwritten by normal users. And what is very strange is that in looking at the logs, everything appears to be normal... I even get: [2007/06/12 17:11:08, 10] smbd/share_access.c:is_share_read_only_for_token(274) is_share_read_only_for_user: share softwaretest is read-write for unix user DOMAIN#user right up until I try to write the file, at which point: [2007/06/12 17:11:13, 10] smbd/open.c:fd_open(67) fd_open: name New Bitmap Image.bmp, flags = 05002 mode = 0777, fd = -1. Permission denied [2007/06/12 17:11:13, 3] smbd/open.c:open_file(301) Error opening file New Bitmap Image.bmp (NT_STATUS_ACCESS_DENIED) (local_flags=2562) (flags=2562) The maddening thing is that everything seems to be correct. The permissions seem to be correct both from BSD and from Windows, and Samba even says that the share is 'read-write' -- until I actually try to write something. If anyone has ideas, I would love to hear them. I've done some searching on various mailling lists and have been unable to find anything. I can provide more information if needed. -- greg byshenk - [EMAIL PROTECTED] - Leiden, NL -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba