Re: [Samba] File permissions 0070 with Office 2010 after saving

2011-09-22 Thread Martin Hochreiter
I solved that by playing around with the oplocks [global] kernel oplocks = no oplocks = no level2 oplocks = no Shares: veto oplock files = /*.doc/*.docx/*.xls/*.xlsx/*.pptx/*.ppsx/*.ppt/*.pps Then it was working again with 7 and samba 3.6.0 - but yes it was no problem with 3.5.11

Re: [Samba] File permissions confusion

2011-04-20 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2011 01:13 PM, James Moe wrote: Hello, samba Version 3.5.4-5.3.1-2489-SUSE-SL11.3 I do not understand why the file permissions of mounted shares are different when the share is viewed locally and when viewed remotely. [...] Is

Re: [Samba] File permissions confusion

2011-04-20 Thread TAKAHASHI Motonobu
From: James Moe ji...@sohnen-moe.com Date: Wed, 20 Apr 2011 09:21:04 -0700 samba Version 3.5.4-5.3.1-2489-SUSE-SL11.3 I do not understand why the file permissions of mounted shares are different when the share is viewed locally and when viewed remotely. [...] Is there a way

Re: [Samba] File permissions confusion

2011-04-20 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/20/2011 09:42 AM, TAKAHASHI Motonobu wrote: Is there a way to have the actual, real, local permissions shown to remote hosts? No, CIFS essentially do not have the semantics of permission. Because it is natively used to share Windows file

Re: [Samba] File permissions confusion

2011-04-13 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2011 01:13 PM, James Moe wrote: samba Version 3.5.4-5.3.1-2489-SUSE-SL11.3 I do not understand why the file permissions of mounted shares are different when the share is viewed locally and when viewed remotely. [...] Is there a

Re: [Samba] File Permissions 770 vs 760

2010-12-31 Thread Michael Lueck
Fred Legace wrote: I am running Ubuntu 10.04 LTS Server. snip My problem is if I use create mode = 770, WinXP users can only manage a 760 permission setting. That will not allow someone else in the group to set the file to readonly Well, I just checked a couple of recently created files

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-05 Thread RegioGis
Hi, Thanks for your input. B.t.w., I use security = ADS I tried hundreds of combinations of configurations and options, but it just won't work. It works rather ok if you limit it to the Unix permissions ( plain user and group permissions ) , but as soon as you try to put an ace referring to an

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread RegioGis
Please ignore previous message. I messed up some testing results I'm trying to clear out things straight first. -- View this message in context: http://samba.2283325.n4.nabble.com/File-permissions-getting-destroyed-with-M-software-on-ZFS-tp2915766p2954213.html Sent from the Samba -

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread RegioGis
Hi, I see you use samba with zfs. But how on earth do you prevent the 'deny' aces from being the first in the ACL, and thus denying all access to the resource ? I'm able to add permissions via the MS UI ( I added an AD group 'regio-users' ) When I then create a file or folder via Samba, I get

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread Gaiseric Vandal
I had a lot of problems with this as well.I found it hard to find much documentation on the zfs module in samba from either samba or sun. (PS- A big thumbs down to Sun and the OpenSolaris crowd for apparently abandoning samba.) I am running Samba 3.0.x from Sun on two servers and samba

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-01 Thread CJ Keist
Well, I think I got it fixed, but not sure if it is the correct way. This is what my share ens looks like now: [ens] comment = ENS Groups path = /XKA2/admin/ENS valid users = +admin force group = admin read only = No create mask = 0770 force create mode = 0770

Re: [Samba] File permissions

2010-06-06 Thread Harry Jede
On Donnerstag, 3. Juni 2010 wrote Steve Wolfe: Samba 3.4.7-58.fc12, windows 7 client. I have a share where, if I right-click and chose properties, everything shows up as read only. I can un-check that, hit apply, and if I view the properties again, they are read only. Interestingly enough,

Re: [Samba] File permissions

2010-06-02 Thread Jorge Alberto Garcia
Hi Steve, Do you have installed the acl ? also check if filesystem below have the option acl enabled. Saludos! 2010/6/3 Steve Wolfe bafena...@gmail.com Samba 3.4.7-58.fc12, windows 7 client. I have a share where, if I right-click and chose properties, everything shows up as read

Re: [Samba] File permissions

2010-06-02 Thread Steve Wolfe
It's not installed. I logged on as a domain administrator and unchecked the read only, now it still appears on directories, but NOT on individual files. The software now succeeds. I'd still like to fix the issue if possible, but if not... employees are able to work. :-D On Wed, Jun 2, 2010

Re: [Samba] File permissions

2009-01-19 Thread Daniel L. Miller
John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write

Re: [Samba] File permissions

2009-01-19 Thread John H Terpstra
On Monday 19 January 2009 14:29:16 Daniel L. Miller wrote: John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a

Re: [Samba] File permissions

2009-01-19 Thread John Drescher
On Mon, Jan 19, 2009 at 3:29 PM, Daniel L. Miller dmil...@amfes.com wrote: John H Terpstra wrote: On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is

Re: [Samba] File permissions

2009-01-18 Thread John Drescher
On Sun, Jan 18, 2009 at 7:38 PM, Daniel L. Miller dmil...@amfes.com wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write access.

Re: [Samba] File permissions

2009-01-18 Thread John H Terpstra
On Sunday 18 January 2009 18:38:25 Daniel L. Miller wrote: Is it possible to define file rights, such that - The file is owned by root, with full privleges on the Linux server. The file is shared by a group users. The shared file should be available for read and write access. That part's

Re: [Samba] File permissions

2008-12-03 Thread John Drescher
On Wed, Dec 3, 2008 at 12:42 PM, [EMAIL PROTECTED] wrote: Greetings, I'm running into a file permission issue. I have a share called data configured simply as: [data] read only = no path = /mnt/data For test purposes, I have a file called t.jpg. -rwx-- 1 bek bek

Re: [Samba] File permissions

2008-12-03 Thread mjb
To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] File permissions On Wed, Dec 3, 2008 at 12:42 PM, [EMAIL PROTECTED] wrote: Greetings, I'm running into a file permission issue. I have a share called data configured simply as: [data] read only = no path

Re: [Samba] File permissions

2008-12-03 Thread iarly selbir
There are Acls Posix on the file or folder that the file is in? Regards, - iarly Selbir ( Ski0s ) On Wed, Dec 3, 2008 at 2:49 PM, John Drescher [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 12:42 PM, [EMAIL PROTECTED] wrote: Greetings,

Re: [Samba] File permissions

2008-12-03 Thread mjb
@lists.samba.org Subject Re: [Samba] File permissions On Wed, Dec 3, 2008 at 12:56 PM, [EMAIL PROTECTED] wrote: 755 root.matt I changed that to 755 root.root and changed the file permissions to 770 bek.trusted (matt is part of the 'trusted' group). Now I can open the file, but can't delete it.. I

Re: [Samba] File permissions

2008-12-03 Thread John Drescher
On Wed, Dec 3, 2008 at 1:06 PM, [EMAIL PROTECTED] wrote: So then explicit file permissions mean nothing? After changing the parent directory to 770 and root.trusted, I was able to delete the file regardless of what the actual file permissions are.. See here about *nix file permissions:

Re: [Samba] File permissions

2008-12-03 Thread Jeremy Allison
On Wed, Dec 03, 2008 at 11:56:26AM -0600, [EMAIL PROTECTED] wrote: 755 root.matt I changed that to 755 root.root and changed the file permissions to 770 bek.trusted (matt is part of the 'trusted' group). Now I can open the file, but can't delete it.. I expected to be able to open it and

Re: [Samba] File permissions

2008-12-03 Thread John Drescher
On Wed, Dec 3, 2008 at 12:56 PM, [EMAIL PROTECTED] wrote: 755 root.matt I changed that to 755 root.root and changed the file permissions to 770 bek.trusted (matt is part of the 'trusted' group). Now I can open the file, but can't delete it.. I expected to be able to open it and delete it..

Re: [Samba] File permissions

2008-12-03 Thread iarly selbir
/03/2008 11:49 AM To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] File permissions On Wed, Dec 3, 2008 at 12:42 PM, [EMAIL PROTECTED] wrote: Greetings, I'm running into a file permission issue. I have a share called data configured simply as: [data

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Jeremy Allison
On Thu, Oct 09, 2008 at 12:58:41AM +1100, Gerry Marthe wrote: The relevant section from smb.conf on the samba server is: [common] comment = Common Area path = /common read only = no valid users = @users create mask = 0660 force create

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Gerry Marthe
Hi Jeremy, Thanks - that does make sense. Can you tell me then why /bin/touch appears immune to the Samba settings? Gerry. On Wed, 2008-10-08 at 11:48 -0700, Jeremy Allison wrote: On Thu, Oct 09, 2008 at 12:58:41AM +1100, Gerry Marthe wrote: The relevant section from smb.conf on the

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Jeremy Allison
On Thu, Oct 09, 2008 at 11:18:49AM +1100, Gerry Marthe wrote: Hi Jeremy, Thanks - that does make sense. Can you tell me then why /bin/touch appears immune to the Samba settings? If you can make the CIFS client violate the forced settings on the Samba server that's a server bug and I'll fix

Re: [Samba] File permissions and Unix umask.

2008-10-08 Thread Gerry Marthe
Yes Jeremy, it seems that I can make the CIFS client violate the forced settings on the Samba server. Specific example: /* As root, issue the following mount command from client. */ mount.cifs //10.0.1.5/common /mnt/smb -o rw,uid=500,user=abdv29,password=*** /* Switch user to abdv29 */ su

Re: [Samba] file permissions with inherit permission + ACL's

2007-04-18 Thread Ralf Gross
Carlos Rivera-Jones schrieb: drwxrws---+ 2 ralfgro ve6 2007-04-18 17:28 testdir 2770 [drwxrws--] permissions will force inherit at the file level system, ignoring Samba. Set the directory to 0770 permissions, and new items would be created with 660 as per smb.conf I removed the gid

RE: [Samba] file permissions with inherit permission + ACL's

2007-04-18 Thread Carlos Rivera-Jones
drwxrws---+ 2 ralfgro ve6 2007-04-18 17:28 testdir 2770 [drwxrws--] permissions will force inherit at the file level system, ignoring Samba. Set the directory to 0770 permissions, and new items would be created with 660 as per smb.conf Other thing is to insure that the main group for the

RE: [Samba] File Permissions

2006-04-11 Thread Bruno Guerreiro
Hi, You must use ACL's. Your Kernel+FileSystem must suport it and samba must have been compiled with acl support. But just one personnal remark, the path you're trying to walk (many different permissions at different directory levels) is a dangerous one. Trust me. I've been there, done that, and

Re: [Samba] file permissions with samba shares

2005-10-19 Thread Josh Kelley
On 10/19/05, Jack Malone [EMAIL PROTECTED] wrote: I am wondering if there is a way I can setup permission on directories in the directory that I have setup for samba shares so that no one can move or delete them. The problem I am having of late is that someone from within windows will move the

Re: [Samba] file permissions with samba shares

2005-10-19 Thread Jack Malone
At 09:05 AM 10/19/2005, Josh Kelley wrote: On 10/19/05, Jack Malone [EMAIL PROTECTED] wrote: I am wondering if there is a way I can setup permission on directories in the directory that I have setup for samba shares so that no one can move or delete them. The problem I am having of late is

RE: [Samba] file permissions head-ache on Samba V3.0.4

2004-08-26 Thread Tom Hibbert
Hi Paul, You probably want to ensure you have EXT3 ACL support on your server, if it isn't already.. not sure if Redhate Enterprise supports this out of the box. I've found that editing permissions from a Windows NT 4.0 box leads to acls being set incorrectly on Samba - use win2k or higher. You

Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-14 Thread Rcz Attila
2003. november 13. 19.40 dtummal Christian Nabski ezt rta: We want to copy files with the group in the admin list of the [homes] share. The problem is that the copied files then are owned by root. I know this is normal unix behavior. However we want the copied files to be owned by the user of

Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-13 Thread Christian Nabski
Hi Aaron, Thanks for your answer. I already set the create mask for files and directories : for files 0600 -- user can only write and read for directories 0700 -- directories can be read and entered (executed) by the user This however only sets the rights and not the ownership. The problem

Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-13 Thread Aaron Collins
I don't think you really can change that, because the default nature of Unix is who ever creates a file owns it, no matter what directory it's in(As long as they have write access to that dir). Samba just does a remote-local mapping that grant the remote user whatever access they are mapped to,

Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-13 Thread John H Terpstra
On Fri, 14 Nov 2003, Christian Nabski wrote: Hi Aaron, Thanks for your answer. I already set the create mask for files and directories : for files 0600 -- user can only write and read for directories 0700 -- directories can be read and entered (executed) by the user This however only

Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-13 Thread Christian Nabski
So the only way to do this would be like in my initial mail ? in [homes] : root preexec = chown -R %S %P John H Terpstra [EMAIL PROTECTED] wrote on 14/11/2003 02:34:06: On Fri, 14 Nov 2003, Christian Nabski wrote: Hi Aaron, Thanks for your answer. I already set the create mask

Re: [Samba] File Permissions

2003-10-31 Thread rruegner
hi, see example but chmod -R 0777 /files/pub on linux before note this maybe a security problem ## Section - [files] [files] readonly = No cscpolicy = disable comment = public files browseable = yes writeable = yes path = /files/pub guestok = yes - Original Message - From:

Re: [Samba] file permissions

2003-09-29 Thread Brad Langhorst
On Mon, 2003-09-29 at 07:17, rob wrote: Hi i'm using samba as a file print server on suse 7.3, clients are windoze 95,2K,XP. basic problem is that sometimes the files created from a windows client have a ownership of root, this causes problems mainly with backup programs (as it

RE: [Samba] file permissions

2003-02-25 Thread Brian Johnson
What I've done to try to address this (and it seems to be working) is to: 1. add all of the users to a common group 2. chown the directory above the file to the group 3. chmod -R g+s the directory above the file 4. addinherit permissions = yes to smb.conf -Original Message- From:

RE: [Samba] File Permissions

2002-12-12 Thread Samba
I know I've seen the answer to this problem, even this week. Have you searched the mail archives? It had something to do with setting the sticky bit on the directory. Search and you will find. Josh -Original Message- From: kumar annamalai [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: [Samba] file permissions

2002-04-26 Thread David McBride
-Original Message- From: Bradley W. Langhorst [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 5:12 PM To: David McBride Cc: Samba email list (E-mail) Subject: Re: [Samba] file permissions On Thu, 2002-04-25 at 17:41, David McBride wrote: I have got my Samba file shareing

RE: [Samba] file permissions

2002-04-26 Thread Bradley W. Langhorst
you need to join admin and joe to the smbusers group and set the permissions on user1 and user2 to at least 775 for that to happen. Does this mean add them to the admins group? I have already done that, if it means something different can you please give more detailed explanation. nope i