[Samba] problems with "cp -a" to a samba share

B.Wiggert b at wiggert.it
Sun Jan 24 18:25:31 MST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi @ samba,

I have running two machines:

PC1 Samba Server @ ubuntu v9.10
PC2 Samba Client @ ubuntu v9.10

Anything works well and as expected, but...

when I copy files from PC2 to a share on PC1 for backup, i.e.

cp -a /home/user1 /media/share/backup/user1

then all data get copied but the file-permissons wouldnt be set

cp reports an error on each file it copies:

cp: preserving permissions for `/media/share/backup/user1/file1':
Permission denied

The samba-share DATEN of PC2 is mounted at /media/share


How can _i setup the samba-server that a user can "cp -a" files to a
share?

The samba server runs in secuirty-mode=user

looking forward for any help

regards

Bjoern

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktc8wsACgkQhLA53l6XA/3FtgCfUprWqpABcZUBmOLg8PMWwsO9
xKAAn225uy5EwFJKhTpPPvPaPVaO0pZa
=zFrY
-----END PGP SIGNATURE-----



More information about the samba mailing list