| To: | Johan Bengtsson <johanb@xxxxxxxxxx> |
|---|---|
| Subject: | Re: root and xfsdump. |
| From: | Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 24 Jul 2001 15:17:59 +1000 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <200107191626.f6JGQEn32426@jen.americas.sgi.com>; from lord@sgi.com on Thu, Jul 19, 2001 at 11:26:14AM -0500 |
| References: | <johanb@docs.uu.se> <200107191626.f6JGQEn32426@jen.americas.sgi.com> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Hi Johan, On Thu, Jul 19, 2001 at 11:26:14AM -0500, Steve Lord wrote: > > > > Hi, > > I noticed that xfsdump insist on being run only by root. > > Would things break if it was run by a normal user, given that this > > user can read the disk device? > > > > / Johan > > > xfsdump writes an inventory file out to /var/xfsdump/inventory/ this > would fail if you were not root - unless you opened up permissions in > there. There is a -J option which may surpress writing to this directory, > I only read the man page, not the code. > > Steve > > Also, xfsdump uses bulkstat's (ioctl of XFS_IOC_FSBULKSTAT) to iterate through the inodes of the FS which require CAP_SYS_ADMIN capability in order to succeed. --Tim |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Samba 2.2.1 and Linux XFS quota, Matthew Geier |
|---|---|
| Next by Date: | TAKE - xfsdump, Nathan Scott |
| Previous by Thread: | Re: root and xfsdump., Steve Lord |
| Next by Thread: | oops 2.4.7pre8 + xlog_recover_reorder_trans: unrecognized type of log operation (long), Tru Huynh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |