Re: [Samba] Permissions and security

2009-06-19 Thread Dennis Duggen
Hi List Thanks for all the help. I found a solution. The solution was for to use "force user". Now shared files are owned by the same user and this solves my permissions problem. Thanks for the help Regards, Dennis -- To unsubscribe from this list go to the following URL and read the instructi

Re: [Samba] Permissions and security

2009-06-08 Thread Walter Mautner
Am Dienstag 26 Mai 2009 11:13:13 schrieb Dennis Duggen: > Hi list > > I have trouble setting up the system permissions to be secure. Here my > basic setup. > > 2 groups: users and staff > > /home/user should have the permissions user:users rwx-- > /mnt/staff should have the permissions user:sta

Re: [Samba] Permissions and security

2009-06-02 Thread Mister Olli
Hi, hm that's strange. I just rethought my setup and I remember having set posix default ACL's on the folders that permit the reading for the groups. I'm not quite sure if this was only to allow proper access to user coming via SSH/ scp or if it is also needed by samba. Maybe you wanna give it a

Re: [Samba] Permissions and security

2009-06-02 Thread Dennis Duggen
Hi Liutauras > Then you create new file in [admin] share, what do you get with command > ll /mnt/admin? I guess you mean "ll" = "ls -la" -rwxrwx--- 1 bj staff 0 May 28 12:00 Ny Tekstdokument.txt bj is one of the users, his primary group is users but he is member of the group staff. So

Re: [Samba] Permissions and security

2009-06-02 Thread Dennis Duggen
Hi > I have a quite similar setup (maybe a littler bit more complex, since my... > My solution was to disable 'nt acl support' by setting: > nt acl support = no It doesn't do it for me. As soon as i set the permissions to 770 it breakes again. It seams to me that the creating user has suffi

Re: [Samba] Permissions and security

2009-05-26 Thread Mister Olli
Hi, I have a quite similar setup (maybe a littler bit more complex, since my users can also save files via SSH) and a problem, that I couldn't rename/ edit existing office (word/ excel/ ...) documents under windows XP. My solution was to disable 'nt acl support' by setting: nt acl support

Re: [Samba] Permissions and security

2009-05-26 Thread Liutauras Adomaitis
On Tue, May 26, 2009 at 1:28 PM, Dennis Duggen wrote: > Hi Liutauras > >> I don't see any share for /home/user and /mnt/staff in your smb.conf. >> If create file in a share, what system permissions do you get? Paste rwx >> style. > [homes] is the /home > [admin] is the staff one > Then you creat

Re: [Samba] Permissions and security

2009-05-26 Thread Dennis Duggen
Hi Liutauras > I don't see any share for /home/user and /mnt/staff in your smb.conf. > If create file in a share, what system permissions do you get? Paste rwx > style. [homes] is the /home [admin] is the staff one Dennis -- To unsubscribe from this list go to the following URL and read the ins

Re: [Samba] Permissions and security

2009-05-26 Thread Liutauras Adomaitis
On Tue, May 26, 2009 at 12:13 PM, Dennis Duggen wrote: > Hi list > > I have trouble setting up the system permissions to be secure. Here my > basic setup. > > 2 groups: users and staff > > /home/user should have the permissions user:users rwx-- > /mnt/staff should have the permissions user:sta

[Samba] Permissions and security

2009-05-26 Thread Dennis Duggen
Hi list I have trouble setting up the system permissions to be secure. Here my basic setup. 2 groups: users and staff /home/user should have the permissions user:users rwx-- /mnt/staff should have the permissions user:staff rwxrwx--- For the last one users should'nt have access. I test with