LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2013, 12:33 PM   #1
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Rep: Reputation: Disabled
Exclamation Permissions issue running backups with fwbackups


Hi everyone.

Quick permission question - I have CentOS 6.4 with software RAID 1. mounted at /media/data and shared with samba. After creating the array I run the following to apply permissions for share users:
Code:
chown -R root.shareusers /media/share_data
chmod 775 /media/share_data
chmod 2775 /media/share_data
I need to backup this directory to the network drive but getting permissions errors for every file:
Code:
rsync: send_files failed to open "/media/share_data/printer_scans/110414104704_0001.pdf": Permission denied (13)
Any idea what permissions should be applied?

Thanks
 
Old 09-16-2013, 12:41 PM   #2
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 329

Rep: Reputation: 62
Are you a member of the group shareusers? If you have just added yourself to that group you need to logout and login for it to take effect.
 
Old 09-16-2013, 12:45 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Any idea what permissions should be applied?"

Check what permissions you actually have with these commands:

ls - l /media
ls - l /media/share_data
ls - l /media/share_data/printer_scans


------------------------
Steve Stites
 
Old 09-16-2013, 01:12 PM   #4
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Hi Lennie,

Thanks! That was it! just added myself to the shareusers group and it worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fwbackups will not start astrohog99 Linux - Software 1 03-16-2013 05:07 PM
Backups by cloning the running system disk? CamilliLa Linux - General 1 03-12-2013 04:43 AM
[SOLVED] removing fwbackups worm5252 Linux - Software 4 01-04-2010 05:01 AM
Running percentage in bash for backups robertjinx Linux - Server 10 03-28-2009 07:28 PM
Q: backups via SSH with roadblock because of APACHE permissions darkus Linux - Newbie 1 06-14-2007 04:57 PM


All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration