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.
Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 31st May 2007, 20:44
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,126
Thanks: 4
Thanked 43 Times in 40 Posts
Default

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

Bookmarks

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 19:38
backup with rsync (permissions) marra87 HOWTO-Related Questions 2 25th April 2007 20:37
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
Amanda backup and ISPconfig Firewall miha1978 Installation/Configuration 1 26th July 2006 08:58
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 21:32


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


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