RE: [Samba] problem with acls and dos mode in 3.0.23d

2006-12-21 Thread Robert Mortimer
 Robert Mortimer пишет:
  Check the UNIX user permissions. Samba stores the windows read only
  attribute here.
  If the owner does not have write access than samba assumes the
 read only bit
  is set.
 
 I have write permissions on fs ( i.e. linux ) level
  This is a problem with the fudge to Windows file attributes to Unix
  attributes file.
 
 IMHO, it is problem in permissions calculation in current samba code...

It's to do with the mapping of permissions on file systems that do not
support the same attributes. If a file's user does not have write access
this is flagged as being the same as the windows read only bit. The SAMBA
create mode configuration can determine default state of the user's Unix
permissions. There is nowhere in the ext file system to map the read only
bit so this translation was decided upon. Since the adoption of this
convention acl's are now common but the old translation is still the one
used. My problem is I can not get  create mode to do what I want but that
is a different thread.

  Rob
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
 
 [mailto:[EMAIL PROTECTED]
  ]On Behalf Of Dmitry Melekhov
  Sent: 05 December 2006 10:22
  To: samba@lists.samba.org
  Subject: [Samba] problem with acls and dos mode in 3.0.23d
 
 
  Hello!
 
  I have direstory with following acl:
 
  getfacl Visio2002
  # file: Visio2002
  # owner: ilyin
  # group: ilyin
  user::rwx
  user:dm:rwx
  user:pitomtsev:rwx
  user:nap:rwx
  user:mav:rwx
  user:goi:rwx
  user:ilyin:rwx
  user:huzyahmetov:rwx
  group::r-x
  group:common:r-x
  mask::rwx
  other::---
  default:user::rwx
  default:user:pitomtsev:rwx
  default:user:nap:rwx
  default:user:mav:rwx
  default:user:goi:rwx
  default:user:ilyin:rwx
  default:group::rwx
  default:group:common:r-x
  default:mask::rwx
  default:other::---
 
 
  I'm user dm ;-)
  I can delete directory from console, but I can't do it from windows.
  And I see this directory as read-only...
  I tried to read debug 10 log, but can't find any reasons for such
  behaviour.
  Any ideas?
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba
 
 
 
 
 



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


Re: [Samba] problem with acls and dos mode in 3.0.23d

2006-12-18 Thread Rashid N. Achilov
On Tuesday 05 December 2006 16:21, Dmitry Melekhov wrote:
 
 I have direstory with following acl:
 
 getfacl Visio2002
 # file: Visio2002
 # owner: ilyin
 # group: ilyin
 user::rwx
 user:dm:rwx

[...skipped...]

 I'm user dm ;-)
 I can delete directory from console, but I can't do it from windows.
 And I see this directory as read-only...
 I tried to read debug 10 log, but can't find any reasons for such behaviour.
 Any ideas?

Uad you have remember, that Windows/Samba have two protection levels - first 
is Share permissions (as said Windows), second is Security permissions. 
First specified permissions for network users, second - for local users. You 
looking at second. Have you checked first level at smb.conf,and sure, that 
share is writable for you?
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
   OOO ACK telecommunications administrator, e-mail: achilov-rn [at] askd.ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] problem with acls and dos mode in 3.0.23d

2006-12-14 Thread Dmitry Melekhov

Gerald (Jerry) Carter пишет:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dmitry Melekhov wrote:

  

I'm user dm ;-)
I can delete directory from console, but I can't do it from windows.
And I see this directory as read-only...
I tried to read debug 10 log, but can't find any reasons for such
behaviour.
Any ideas?



See 'map readonly' and possibly dos filemode' in smb.conf(5).
  
I tried map read only = no and = permissions and I always get read-only 
attribute.

As I see in man smb.conf dos filemode= no  by default.

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


Re: [Samba] problem with acls and dos mode in 3.0.23d

2006-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dmitry Melekhov wrote:

 I'm user dm ;-)
 I can delete directory from console, but I can't do it from windows.
 And I see this directory as read-only...
 I tried to read debug 10 log, but can't find any reasons for such
 behaviour.
 Any ideas?

See 'map readonly' and possibly dos filemode' in smb.conf(5).





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgEIdIR7qMdg1EfYRArOcAJwLtsCrkT8NXrwydarTH4i97BZTVACbBqIs
iypAWoabqiRI6levJ3H2QrA=
=9j0b
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] problem with acls and dos mode in 3.0.23d

2006-12-12 Thread Dmitry Melekhov

Hello!

I have direstory with following acl:

getfacl Visio2002
# file: Visio2002
# owner: ilyin
# group: ilyin
user::rwx
user:dm:rwx
user:pitomtsev:rwx
user:nap:rwx
user:mav:rwx
user:goi:rwx
user:ilyin:rwx
user:huzyahmetov:rwx
group::r-x
group:common:r-x
mask::rwx
other::---
default:user::rwx
default:user:pitomtsev:rwx
default:user:nap:rwx
default:user:mav:rwx
default:user:goi:rwx
default:user:ilyin:rwx
default:group::rwx
default:group:common:r-x
default:mask::rwx
default:other::---


I'm user dm ;-)
I can delete directory from console, but I can't do it from windows.
And I see this directory as read-only...
I tried to read debug 10 log, but can't find any reasons for such behaviour.
Any ideas?

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


[Samba] problem with acls and dos mode in 3.0.23d

2006-12-12 Thread Dmitry Melekhov

Hello!

I have direstory with following acl:

getfacl Visio2002
# file: Visio2002
# owner: ilyin
# group: ilyin
user::rwx
user:dm:rwx
user:pitomtsev:rwx
user:nap:rwx
user:mav:rwx
user:goi:rwx
user:ilyin:rwx
user:huzyahmetov:rwx
group::r-x
group:common:r-x
mask::rwx
other::---
default:user::rwx
default:user:pitomtsev:rwx
default:user:nap:rwx
default:user:mav:rwx
default:user:goi:rwx
default:user:ilyin:rwx
default:group::rwx
default:group:common:r-x
default:mask::rwx
default:other::---


I'm user dm ;-)
I can delete directory from console, but I can't do it from windows.
And I see this directory as read-only...
I tried to read debug 10 log, but can't find any reasons for such behaviour.
Any ideas?



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