Re: [Samba] Samba/Windows "you do not have permission to access this"

2012-08-02 Thread Daniel Müller
If there is a group accessing and writing the files set the sticky bit for
groups on the shell
Ex.: drwxrws---  82 root  Direktionv   4096 16. Jul 15:08
verwaltung
In your smb.conf:
read only=no
directory mask=2770
force directory mode=2770
create mask = 2770
force create mode=2770
force security mode=2770
force directory security mode=2770
force group = Direktionv

This will guarantee all users who own the group can manage the files

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: Craig Cameron [mailto:craig.came...@iongeo.com] 
Gesendet: Mittwoch, 1. August 2012 18:45
An: muel...@tropenklinik.de; samba@lists.samba.org
Betreff: RE: [Samba] Samba/Windows "you do not have permission to access
this"

Yes it's down as writeable = yes in smb.conf

If I change the file's ownership to myself it works - or if I then restart
winbind and samba it then becomes accessible too.

There's only an issue if the file owner is different from the person
accessing it.

Regards

Craig



-Original Message-
From: Daniel Müller [mailto:muel...@tropenklinik.de]
Sent: 01 August 2012 12:24
To: Craig Cameron; samba@lists.samba.org
Subject: AW: [Samba] Samba/Windows "you do not have permission to access
this"

Did you configure the share as writeable=yes?

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Craig Cameron
Gesendet: Mittwoch, 1. August 2012 13:07
An: samba@lists.samba.org
Betreff: [Samba] Samba/Windows "you do not have permission to access this"

I'm constantly running into the above error message when accessing files on
a samba share under Win7.

Files are fully accessible under Linux ie the group permissions are being
honoured but Windows just locks me out if I'm not the owner.

file: testfile
owner: anotheruser
group: mygroup
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---

Has anyone else experienced this? And if so can anyone suggest a fix?

Thanks

Craig







This email and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received
this email in error, please immediately notify the sender and delete the
original.

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





This email and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received
this email in error, please immediately notify the sender and delete the
original.


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


Re: [Samba] Samba/Windows "you do not have permission to access this"

2012-08-01 Thread Craig Cameron
Yes it's down as writeable = yes in smb.conf

If I change the file's ownership to myself it works - or if I then restart 
winbind and samba it then becomes accessible too.

There's only an issue if the file owner is different from the person accessing 
it.

Regards

Craig



-Original Message-
From: Daniel Müller [mailto:muel...@tropenklinik.de]
Sent: 01 August 2012 12:24
To: Craig Cameron; samba@lists.samba.org
Subject: AW: [Samba] Samba/Windows "you do not have permission to access this"

Did you configure the share as writeable=yes?

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im 
Auftrag von Craig Cameron
Gesendet: Mittwoch, 1. August 2012 13:07
An: samba@lists.samba.org
Betreff: [Samba] Samba/Windows "you do not have permission to access this"

I'm constantly running into the above error message when accessing files on a 
samba share under Win7.

Files are fully accessible under Linux ie the group permissions are being 
honoured but Windows just locks me out if I'm not the owner.

file: testfile
owner: anotheruser
group: mygroup
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---

Has anyone else experienced this? And if so can anyone suggest a fix?

Thanks

Craig







This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the original recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
in error, and that any use, dissemination, forwarding, printing, or copying of 
this email is strictly prohibited. If you received this email in error, please 
immediately notify the sender and delete the original.

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





This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the original recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
in error, and that any use, dissemination, forwarding, printing, or copying of 
this email is strictly prohibited. If you received this email in error, please 
immediately notify the sender and delete the original.

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


Re: [Samba] Samba/Windows "you do not have permission to access this"

2012-08-01 Thread Daniel Müller
Did you configure the share as writeable=yes?

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Craig Cameron
Gesendet: Mittwoch, 1. August 2012 13:07
An: samba@lists.samba.org
Betreff: [Samba] Samba/Windows "you do not have permission to access this"

I'm constantly running into the above error message when accessing files on
a samba share under Win7.

Files are fully accessible under Linux ie the group permissions are being
honoured but Windows just locks me out if I'm not the owner.

file: testfile
owner: anotheruser
group: mygroup
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---

Has anyone else experienced this? And if so can anyone suggest a fix?

Thanks

Craig







This email and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received
this email in error, please immediately notify the sender and delete the
original.

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

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


[Samba] Samba/Windows "you do not have permission to access this"

2012-08-01 Thread Craig Cameron
I'm constantly running into the above error message when accessing files on a 
samba share under Win7.

Files are fully accessible under Linux ie the group permissions are being 
honoured but Windows just locks me out if I'm not the owner.

file: testfile
owner: anotheruser
group: mygroup
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---

Has anyone else experienced this? And if so can anyone suggest a fix?

Thanks

Craig







This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the original recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
in error, and that any use, dissemination, forwarding, printing, or copying of 
this email is strictly prohibited. If you received this email in error, please 
immediately notify the sender and delete the original.

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