LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-25-2006, 04:35 AM   #1
Col._Panic
LQ Newbie
 
Registered: Sep 2005
Distribution: Xubuntu Edgy AMD64/"Wintendo"
Posts: 19

Rep: Reputation: 0
Mixed permissions on backup drive


Hi,

I use a USB hard drive to store all my backups. All files and directories on this drive are owned/grouped by my user, except one directory which I use to store partition image files created with the program Partimage. These gzip files are created as root and must remain that way if they ever need to be used (ie. to restore a partition). The directory they live in is also owner/group root. Non-root access is read-only on this directory.

My question is, can problems arise if a directory owned by root resides on a partition in which all other files/directories are owned by user, and which is normally mounted by user (I only mount this partition as root when creating/deleting image files)?

The problem I'm thinking of is root taking ownership of files normally owned by user. No programs are run from this drive but is it still a potential problem, say, when root mounts the drive?

I used to have the image files on their own partition on this drive, but found it cumbersome and a waste of disk space, so I'd prefer not to go back to that.

Thanks in advance.
 
Old 08-26-2006, 02:08 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I don't think so. I have no definite evidence, but a couple of good examples on my filesystem.
- I have a second HDD for data storage. Apart from the foldes I use as normal user, there is a lost&found folder belonging to root.
- Whenever I throw anything away as root it goes into .Trash-root on the partition I deleted it from.
All partitions are mounted at bot so not by a normal user and there are never any conflicts.
 
  


Reply



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
MS word pluggin mixed with gmail drive idea oudent General 4 06-30-2006 09:49 PM
user backup permissions wmorrow Linux - Security 3 10-26-2005 09:22 AM
Backup Software for mixed environment jedimastermopar Linux - General 2 09-24-2004 03:34 PM
Backup Permissions cfgert Linux - General 5 08-23-2004 08:36 AM
XCDRoast -- mixed drive types DavidPhillips Linux - General 3 03-04-2002 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:02 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
Open Source Consulting | Domain Registration