Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 31st May 2007, 19: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


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 // /media/winshare/
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
Old 31st May 2007, 21:44
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
backup with rsync (permissions) marra87 HOWTO-Related Questions 2 25th April 2007 21:37
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
Amanda backup and ISPconfig Firewall miha1978 Installation/Configuration 1 26th July 2006 09:58
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 22:32

All times are GMT +2. The time now is 12:51.

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