Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-01-2010, 10:10 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Version controll /etc and permissions/ownership

Hi everyone,

I run the servers hosting an intranet, a couple of services and an external websites for my club at university.
I'd like to back up all the config files to some version control system to keep track of changes, in case one of my colleagues breaks something. The idea is to keep snapshots and then just roll back the required file in case something happens.
Now to the main issue: How does a version control system handle file permissions and ownership? Does it keep them? Does it set the permissions of the user who committed the last change? These are important questions as we have multiple daemons with different users...

Old 08-01-2010, 10:29 AM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Comparison of revision control software

For example SVN do it, but permissions can not be changed later. After some small test I see that SVN don't do it automatically.

Last edited by eSelix; 08-01-2010 at 10:47 AM.
Old 08-01-2010, 02:02 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi eSelix,

I had overseen that chart in my first round of google/wiki.

How come no FOSS really supports permissions/ownership? I need to be sure that the file is owned by the same user and has the same permission bits set after a revert. Doing this by hand is annoying...



backup, config, versioning

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
[SOLVED] Ownership and permissions for apache webdirs hua Linux - Server 2 07-30-2009 04:33 PM
I messed up permissions and ownership digity Linux - Newbie 8 12-07-2008 07:02 PM
permissions and ownership on dir gabsik Linux - Software 4 02-05-2007 07:48 AM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 06:57 AM
write permissions / ownership bynaar Slackware 15 08-08-2002 05:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 AM.

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