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

Helmut Hullen Hullen at t-online.de
Mon Jan 25 11:49:00 MST 2010


Hallo, B.Wiggert,

Du meintest am 25.01.10:


> 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

I see this message most times when I try to copy from e2fs oder e3fs to  
vfat (from Linux to DOS/Windows).

What kind of filesystem is on /media/share/backup/user1 ?

Viele Gruesse!
Helmut


More information about the samba mailing list