Re: [Samba] permission problems (ACL)

2012-07-04 Thread Elfish
Hi,

i tried various search strings, with no success.
Any idea what i should look for exactly?

regards

2012/6/28 Elfish elf...@gmx.de

 Hello,

 thanks for your reply!
 Good to know that it's a OS problem and not a samba problem.
 I finnally know what to look for.

 And I'm using Windows 7.

 Regards.


 2012/6/28 Miguel Medalha miguelmeda...@sapo.pt


 Nothing is wrong. This is the default behavior of Windows itself.

 When you move a file, it keeps its permissions, as it should. When you
 copy a file, it acquires the permissions of the destination folder.

 With Windows 7 there has been some modification to this default behavior.
 Please consult the Microsoft technical pages about this.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] permission problems (ACL)

2012-07-02 Thread Elfish
Hello,

thanks for your reply!
Good to know that it's a OS problem and not a samba problem.
I finnally know what to look for.

And I'm using Windows 7.

Regards.

2012/6/28 Miguel Medalha miguelmeda...@sapo.pt


 Nothing is wrong. This is the default behavior of Windows itself.

 When you move a file, it keeps its permissions, as it should. When you
 copy a file, it acquires the permissions of the destination folder.

 With Windows 7 there has been some modification to this default behavior.
 Please consult the Microsoft technical pages about this.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] permission problems (ACL)

2012-06-28 Thread Elfish
Hi,

i got a problem with a samba share...
let's say i have 2 folders. the first folder is only accessible by 1 group
(sharepriv), which has r/w access.

getfacl output:
Code: # file: complete/
# owner: elfish
# group: elfish
user::rwx
group::rwx
group:sharepriv:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:group:sharepriv:rwx
default:mask::rwx
default:other::---

the 2nd folder is accessible by 2 groups and 1 user.
1 group has rw access (same group as on the first folder)
the 2nd group only has read permissions

getfacl output
Code:# file: Sonstiges/
# owner: elfish
# group: elfish
user::rwx
user:shareguest:r-x
group::rwx
group:sharepub:r-x
group:sharepriv:rwx
mask::rwx
other::---
default:user::rwx
default:user:shareguest:r-x
default:group::rwx
default:group:sharepub:r-x
default:group:sharepriv:rwx
default:mask::rwx
default:other::---

if i move a file from the first folder to the second folder by cutting it
out in windows (the share is mounted there) and inserting it in the 2nd
folder
the 2nd group (sharepub) has no access to it. So basicly the first folder
keeps it's permissions.

i thought that the parent dir permissions are set to sub folders/files.

oh and i enabled honor existing acls and enable permission inheritence,
which i think should be correct.

anyone got an idea whats wrong?

regards
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] permission problems (ACL)

2012-06-28 Thread Miguel Medalha



if i move a file from the first folder to the second folder by cutting it
out in windows (the share is mounted there) and inserting it in the 2nd
folder the 2nd group (sharepub) has no access to it. So basicly the first folder
keeps it's permissions.

i thought that the parent dir permissions are set to sub folders/files.

oh and i enabled honor existing acls and enable permission inheritence,
which i think should be correct.

anyone got an idea whats wrong?


Nothing is wrong. This is the default behavior of Windows itself.

When you move a file, it keeps its permissions, as it should. When you 
copy a file, it acquires the permissions of the destination folder.


With Windows 7 there has been some modification to this default 
behavior. Please consult the Microsoft technical pages about this.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] permission problems (ACL)

2012-06-28 Thread Miguel Medalha




Good to know that it's a OS problem and not a samba problem.
I finnally know what to look for.


It is not a problem, it's a feature! If you think about it carefully, 
you will see that this is a correct way to behave.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba