Writing to Samba share as different user?
Posted
by
Hamid Elaosta
on Server Fault
See other posts from Server Fault
or by Hamid Elaosta
Published on 2010-10-25T15:38:20Z
Indexed on
2011/01/04
11:55 UTC
Read the original article
Hit count: 341
I have a Samba share on my NAS drive mounter as follows:
mount -t smbfs -o username=backup,password=backups_password //sharebox/SVNBackup /mnt/SVNBackup
I am then trying to run:
sudo svnadmin dump /usr/local/svn/repos/testrepo > /mnt/SVNBackup/test1.svn
but I get:
bash: /mnt/SVNBackup/test1.svn: Permission Denied
The backup location is setup to accept access only from the user "backup" (who doesn't exist on the local system)
How do I go about solving this problem? Thanks
© Server Fault or respective owner