Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


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

Rep: Reputation: 0
Mixed permissions on backup drive


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, 03:08 PM   #2
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.


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

All times are GMT -5. The time now is 05:32 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