View Single Post
  #1  
Old 31st May 2007, 18:17
sambauser sambauser is offline
Junior Member
 
Join Date: May 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Samba with Amanda backup --- permissions

Hi,

I am trying to create a Samba share on /media/winshare with the owner as amandabackup instead of root. But as soon as I mount the Samba share on to the mount point, the permissions for the owner get reverted back to root instead of amandabackup.

Attaching a snapshot of how it looks like.

AmandaBackup:/media # chown amandabackup:disk winshare/
AmandaBackup:/media # ls -l
total 0
drwxr-xr-x 2 root root 48 May 24 14:39 cdrom
drwxr-xr-x 2 amandabackup disk 48 May 30 13:05 winshare
AmandaBackup:/media # mount -t smbfs -o username=linuxbak //10.80.101.15/LinuxBak /media/winshare/
Password:
AmandaBackup:/media # ls -l
total 4
drwxr-xr-x 2 root root 48 May 24 14:39 cdrom
drwxr-xr-x 1 root root 4096 May 31 12:16 winshare
AmandaBackup:/media #
Reply With Quote
Sponsored Links