Displaying 20 results from an estimated 10000 matches similar to: "Inheriting Group Ownership on File Move"
2002 Mar 07
0
[Bug 136] New: setgid() deemed to fail for non-suid ssh client on linux if using other than primary group
http://bugzilla.mindrot.org/show_bug.cgi?id=136
           Summary: setgid() deemed to fail for non-suid ssh client on linux
                    if using other than primary group
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
      
2018 Feb 05
0
Samba 4.6.2 does not inherit setgid bit (anymore)
Hi Lorenzo and Dale,
My setup is like Lorenzo's completely based on setgid being propagated. 
The filesystem should determine the group used starting at a certain 
directory. Different "root" directories have different groups, and 
security is based on groups, not users.
I tried all sorts of settings combinations, alseo "force directory mode 
= 2770", but none propagates
2007 Nov 20
4
SETGID not being inherited
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have an Debian system running samba 3.0.14a from sarge.  It is
exporting a file system, /data.  This file system has the perms 2770.
I have set the following in the smb.conf:
inherit permissions = yes
inherit acls = yes
I mount the filesystem from a linux, ubuntu, client and create a
directory.  The directory comes out with perms 0770.  I can
2018 Jul 01
0
permissions of newly created mailboxes only with dovecot-lda and posix acls
Hi!
I am experiencing troubles concerning the inheritance of the setgid bit if a new mailbox is created with dovecot-lda.
If it is created with dovecot/imap, everything works fine.
dovecot-lda is called from postfix like this:
----------
mailbox_command = /usr/local/sbin/postfix-lda.sh
----------
logger -p mail.info -t postfix-lda "H: $HOME, S: $SENDER, R: $RECIPIENT, U: $(umask), id:
2007 Apr 14
5
SAMBA Problem - Users take ownership
Hi, 
I have a problem with my Samba/WinBIND implementation. In folders shared by multiple people the last one to access and modify a file takes ownership of the file and changes the permissions so other users cannot make changes to the same file: 
[root@atlas PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/ 
[root@atlas REGIONAL 1 AIRLINE DOCS]# ls -al 
total 1232 
drwxrws---+ 8 root
2018 Jul 24
0
Force set group id on samba domain member
On Tue, 24 Jul 2018 14:38:31 +0200
Michal via samba <samba at lists.samba.org> wrote:
>   Samba DM config below.
>   Directories with setgid:
> 
> $ll /home4/group
> total 32
> drwxrws--- 7 NIS\nisadmin NIS\audio      4096 Jul 24 14:14 audio
> drwxrwx--- 2 NIS\nisadmin NIS\dok-sprava 4096 Jul 21 09:23 dok-sprava
> drwxrwx--- 2 NIS\nisadmin NIS\poj        4096 Jul 23
2007 Apr 18
3
file permissions with inherit permission + ACL's
Hi,
I have a share (testshare) where different unix groups (testgroup1,
testgroup2) should have access to. But I want that new files are only
created with 660 permissions.
Here are the ACL's of testshare:
# file: testshare
# owner: ralfgro
# group: ve
user::rwx
group::rwx
group:testgroup1:rwx
group:testgroup2:rwx
mask::rwx
other::---
default:user::rwx
default:group::---
2006 Sep 30
1
DO NOT REPLY [Bug 4138] New: Incoming chmod can't override inherited directory setgid
https://bugzilla.samba.org/show_bug.cgi?id=4138
           Summary: Incoming chmod can't override inherited directory setgid
           Product: rsync
           Version: 2.6.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy:
2018 Jan 15
0
Samba 4.6.2 does not inherit setgid bit (anymore)
Somewhere between Samba 4.2.10 and 4.6.2 (came with CentOS 7 updates) 
the setgid bit is not inherited anymore when making directories via my 
Samba service. Everything else is still fine. With ssh direct on the 
file system or sftp, i get all permissions and acls inherited nicely. 
Also with Samba all acls are still just fine, except that setgid bit is 
not inherited (s on the group executable
2024 Jun 04
1
How to give AD users group permissions on a Samba share
I have a Linux file server that is an AD Domain Member. It shares the 
following (smb.conf):
[public]
path = /public
store dos attributes = no
hide dot files = yes
readonly = no
force group = ohprs
create mask = 0660
directory mask = 2770
The "force group" lets all Windows users map this folder and create 
files and directories that all users can access and update. They are 
created
2007 Nov 01
0
File permissions issue: different behavior between samba and unix
I'm seeing behavior that I was hoping somebody could explain.  I have a
share set up that will be a repository for company-wide data.  There are
three classes of people who can access it, readers, read/writers, and
admins.  Readers and read/writers are self explanatory, admins have
read/write access, and can change the permissions/ownership of files.
Read and write access is controlled by
2018 Jul 24
0
Force set group id on samba domain member
Am Dienstag, 24. Juli 2018, 14:38:31 CEST schrieb Michal via samba:
>   Samba DM config below.
>   Directories with setgid:
> 
> $ll /home4/group
> total 32
> drwxrws--- 7 NIS\nisadmin NIS\audio      4096 Jul 24 14:14 audio
> drwxrwx--- 2 NIS\nisadmin NIS\dok-sprava 4096 Jul 21 09:23 dok-sprava
> drwxrwx--- 2 NIS\nisadmin NIS\poj        4096 Jul 23 08:38 poj
> drwxrwx---
2018 May 15
2
Postfix/Dovecot permissions for new mailboxes
I would expect same permissions as for root mail directory 02770:
	drwxrws--- 5 newuser mail 4096 Apr 23 19:31 /var/spool/mail/newuser/
Using Dovecot 2.2.34
On 14.05.2018 08:37, Aki Tuomi wrote:
> 
> 
> On 09.05.2018 12:52, telsch wrote:
>> Hello,
>>
>> the wiki page describe that permission should copied from root mail
>> directory
>> 
2018 Feb 02
2
Samba 4.6.2 does not inherit setgid bit (anymore)
thanks for suggestion, in other words you use only ACLs for users 
denying all for groups, unfortunately we had many group such as domain 
users, secretary, finance, etc belonging to users for which we need to 
apply at least 770 in order to gain a simplified permission management 
using groups
the actual dirty workaround I applied was to track new files/dir by 
tailing with follow ( tail -f ) a
2024 Jun 04
1
How to give AD users group permissions on a Samba share
On Tue, 4 Jun 2024 13:22:49 -0400
Mark Foley via samba <samba at lists.samba.org> wrote:
> I have a Linux file server that is an AD Domain Member. It shares the 
> following (smb.conf):
> 
> [public]
> path = /public
> store dos attributes = no
> hide dot files = yes
> readonly = no
> force group = ohprs
> create mask = 0660
> directory mask = 2770
> 
2014 Aug 11
1
Samba 4, setgid & new file permissions
Hello everybody,
I have a server with CentOS 6.5 (kernel version 
2.6.32-431.5.1.el6.x86_64) and Samba version 4.2.0pre1-GIT-4daf7d4. I am 
using this server as a PDC and so far everything is working quite alright.
However, I have a problem with permissions of files I want to share. 
Mostly it is working well. Samba respects group memberships, including 
supplementary groups, ownership, etc. The
1999 Aug 18
0
Shares within Shares (Digest 2186)
> Date:   Fri, 30 Jul 1999 14:10:35 -0700 (PDT)
> From:   Mike Oswell <oswell@xcert.com>
> To:     samba@samba.org
> Subject: Shares within Shares
>... 
> Is it possible to have a share within a share, or to force group on
> directories within a share?
   You can do the later in (most?) Unixes by turning on setgid for the
directory (ie. you don't do it within
2014 Oct 15
0
permissions when moving mails
Hi!
I am using Unix groups to control access to shared mailboxes.
This works fine as long as files are not moved between mailboxes that
are owned by different groups. The move operation doesn't change group
ownership of the mail.
Is there a way to force dovecot to e.g. inherit the ownership from the
parent folder, not only for new messages bot also for messages moved
from one folder to
2018 May 15
2
Postfix/Dovecot permissions for new mailboxes
I use mdbox not maildir:
	mail_location = mdbox:/var/spool/mail/%u
On 15.05.2018 11:53, Aki Tuomi wrote:
> Do you have
> 
> mail_location=maildir:~/mail
> 
> or
> 
> mail_location = maildir:/path/to/whatever/%u
> 
> I tested with latest 2.2 that if I use /path/to, I get correct permissions.
> 
> Aki
> 
> 
> On 15.05.2018 12:43, telsch wrote:
>> I
2013 Mar 26
3
Samba + ACLs: Can’t add group write permissions
Hi there,
I?ve been trying to get my head around a problem I have with Samba.
I?ve set up Samba 3.6.13 on a Raspberry Pi with Arch Linux ARM on it and
let it serve a couple of folders from an attached external ext4 drive
mounted to /srv/cifs (of course with the "acl" option enabled).
I?ve been trying to create a share that is read-writable for all
members of a particular UNIX user