Bug#522388: mount.cifs and samba copy/dirs permissions error [522388]

2009-04-23 Thread Christian Perrier
forwarded 522388 https://bugzilla.samba.org/show_bug.cgi?id=6287
thanks

Quoting Pol Hallen (polhal...@fuckaround.org):
 Hi
 
 have you any news about my bug of samba?

Yes. It has just been reported upstream as #6287. Sorry for the logn
delay but I needed to write down a summary that's as exact as
possible

...and of course, I still can't reproduce it..:-|






signature.asc
Description: Digital signature


Bug#522388: [Pkg-samba-maint] Bug#522388: mount.cifs and samba copy/dirs permissions error

2009-04-04 Thread Christian Perrier
Quoting Pol Hallen (polhal...@fuckaround.org):

 mkdir /home/user0/upload/tmpdir0
 touch /home/user0/upload/tmpdir0/tmpfile0
 touch /home/user0/upload/tmpfile1
 
 ls -la /home/user0/upload
 
 drwxr-xr-x 2 user0 user0   0 2009-04-03 12:29 tmpdir0
 -rwxr--r-- 1 user0 user0   2 2009-04-03 12:32 tmpfile0
 
 -rw-r--r-- 1 user0 user0   1 2009-04-03 12:35 tmpfile1
 
 everything is ok :-)
 
 cp -rv /home/user0/10filesdir /home/user0/upload/
 cp: cannot create regular file [...] access denied. [...] for all files

If 10filesdir created on the target?

If it is what are its permissions?

Does somethign show up on the server's logfile?

What happens when you mkdir 10files dir on the target, *then* try to
cp the individual files in it?

 
 Thus: ONLY if I copy a dir with several files inside it born a copy error!
 Because seems that the permission (server side) are correctly, but I don't 
 understand the problem :-/


I really fail to see how this could come from mount.cifs ot, on the
other side, samba.

There is certainly something weird somewhere because, of course, I
can't reproduce this bug (on a lenny server mounting its own resource).



signature.asc
Description: Digital signature


Bug#522388: mount.cifs and samba copy/dirs permissions error

2009-04-03 Thread Pol Hallen
Package: samba
Version: 2:3.2.5-4
Severity: important


On the server there are:
debian stable with kernel 2.6.28.8 and samba 3.2.5-4

On several clients:
debian stable/testing (tested by various kernels), winXP (sp1/2), ubuntu 8.x

client side:
mount.cifs //192.168.1.130/upload /home/user0/upload -o 
username=user0,password=user0
done

mkdir /home/user0/upload/tmpdir0
touch /home/user0/upload/tmpdir0/tmpfile0
touch /home/user0/upload/tmpfile1

ls -la /home/user0/upload

drwxr-xr-x 2 user0 user0   0 2009-04-03 12:29 tmpdir0
-rwxr--r-- 1 user0 user0   2 2009-04-03 12:32 tmpfile0

-rw-r--r-- 1 user0 user0   1 2009-04-03 12:35 tmpfile1

everything is ok :-)

cp -rv /home/user0/10filesdir /home/user0/upload/
cp: cannot create regular file [...] access denied. [...] for all files

Thus: ONLY if I copy a dir with several files inside it born a copy error!
Because seems that the permission (server side) are correctly, but I don't 
understand the problem :-/

Using konqueror (smb://192.168.1.130/upload) this problem there isn't: 
everything is ok. Same with winXP and osx

I tried several options on the server and clients: add/remove unix permissions 
= yes, on mount: add nodfs, etc.

I wish resolve the problem because I've 2 production servers.

Very thanks :-)

Pol

smb.conf

domain master = yes
preferred master = yes
os level = 65
workgroup = LANTEST
netbios name = SERVERTEST0
Server String = SERVERTEST0
wins support = yes
name resolve order = wins host dns bcast
hosts allow = 192.168.1.0/24
load printers = no
guest account = samba
loglevel=2
log file = /var/log/samba/%m.log
security=USER
encrypt passwords = yes
null passwords = no

[upload]
path=/share/upload
writable = yes
browseable = yes
valid users = user0 user1 user2 user3 user3 user5
admin users = useradmin
dos charset = ISO8859-1
unix charset = ISO8859-1
display charset = ISO8859-1

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.6-luana (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser   3.110  add and remove users and groups
ii  debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii  libacl1   2.2.47-2   Access control list shared library
ii  libattr1  1:2.4.43-2 Extended attribute shared library
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  libcomerr21.41.3-1   common error description library
ii  libcups2  1.3.8-1lenny4.1Common UNIX Printing System(tm) - 
ii  libgnutls26   2.6.4-2the GNU TLS library - runtime libr
ii  libkrb53  1.6.dfsg.4~beta1-6 MIT Kerberos runtime libraries
ii  libldap-2.4-2 2.4.11-1   OpenLDAP libraries
ii  libpam-modules1.0.1-5Pluggable Authentication Modules f
ii  libpam-runtime1.0.1-9Runtime support for the PAM librar
ii  libpam0g  1.0.1-9Pluggable Authentication Modules l
ii  libpopt0  1.14-4 lib for parsing cmdline parameters
ii  libtalloc11.2.1-1hierarchical pool based memory all
ii  libwbclient0  2:3.3.2-1  Samba winbind client library
ii  logrotate 3.7.7-3Log rotation utility
ii  lsb-base  3.2-22 Linux Standard Base 3.2 init scrip
ii  procps1:3.2.7-11 /proc file system utilities
ii  samba-common  2:3.2.5-4  Samba common files used by both th
ii  update-inetd  4.31   inetd configuration file updater
ii  zlib1g1:1.2.3.3.dfsg-12  compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools   none   (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools   none   (no description available)

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org