HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Samba with Amanda backup --- permissions (http://www.howtoforge.com/forums/showthread.php?t=13075)

sambauser 31st May 2007 19:17

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 #

sjau 31st May 2007 21:44

You have to chown the folder once it's mounted :) then it should stay like this wherever you mount it.


All times are GMT +2. The time now is 05:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.