LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-12-2006, 11:54 PM   #1
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
Help with group permissions?


Hi,

I'm trying to set up a user 'backup' that has read access to the /home directory (and all subdirectories) however I'm finding the group permissions a bit confusing.

What is the best approach for this problem, do I need change the group ownership of /home(and all subdirectories) to 'backup' or is there a better way of doing this?

Paddy
 
Old 11-13-2006, 12:08 AM   #2
dhanju
Member
 
Registered: Aug 2005
Location: bangalore
Posts: 47

Rep: Reputation: 17
first give a read permission to all sub folders under /home for group.(i.e chmod 740 user1) then assign 'backup' user as group member of that folder.
(or) assign read permission to other users of that folders (i.e chmod 704 'user1') so that all will have read access to taht folder.
 
Old 11-13-2006, 01:00 AM   #3
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
backup via root user. easier. and safer(my opinion).
 
Old 11-13-2006, 01:30 AM   #4
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
Yes that is easier but I'm using rdiff-backup which opens an SSH connection to the server, I feel unsure about doing this in an automated process with the root user.
 
Old 11-13-2006, 03:25 AM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
still the same, if you want to backup entire home directory with a group, I feel quite troublesome, and it will bring your more trouble. Example like you need to force user write as group backup, all files/folder need to save as 660, need to overwrite existing permission and etc. Since you use the ssh, I think using root user is better than others.
However, for myself I'll mount it as local folder, so future it won't keeping send the username/password across the network(And I prefer rsync -ruv --delete).
Somebody have better ideals?
 
Old 11-13-2006, 04:40 AM   #6
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
I found a good tutorial on it here

http://www.howtoforge.com/linux_rdiff_backup

I have it setup and seems to work well.

Paddy
 
  


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
group permissions jahjr Linux - Server 1 09-18-2006 11:00 AM
group permissions towel401 Linux - Newbie 5 12-06-2005 06:19 AM
regarding group permissions zameer_india Linux - Networking 1 02-11-2005 05:07 AM
group permissions mikeghet Linux - Newbie 1 12-06-2004 04:49 AM
group permissions once Linux - Newbie 5 06-02-2002 04:09 AM


All times are GMT -5. The time now is 04:50 PM.

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