|
Re: Could not lchown() symlink ???: msg#00008sysutils.backup.rsnapshot.general
David Cantrell wrote: > On Wed, Jun 28, 2006 at 02:03:15PM -0400, DW wrote: > >> We just did a portupgrade on all of our FreeBSD boxes, and it upgraded >> rsnapshot to 1.2.9_1. >> >> Now we are seeing this in the output of our runs: >> >> WARNING: Could not lchown() symlink "/backups/hourly.1/my.server.com/home" >> WARNING: Could not lchown() symlink >> "/backups/hourly.1/my.server.com/etc/namedb" >> ... >> Any ideas???? > > Install the Lchown module from the CPAN and then if your OS supports the > lchown() system call (and I'd be shocked if FreeBSD didn't) this will go > away. This: > > $ sudo perl -MCPAN -e 'install Lchown' > > should do the trick. Note that the lchown() system call often requires > that you are running as root. > It does indeed support it (I think it's part of POSIX.1 compliance). Here's a little info: ----- HISTORY The chown() function appeared in Version 7 AT&T UNIX. The fchown() sys- tem call appeared in 4.2BSD. The chown() system call was changed to follow symbolic links in 4.4BSD. The lchown() system call was added in FreeBSD 3.0 to compensate for the loss of functionality. ----- -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Could not lchown() symlink ???: 00008, David Cantrell |
|---|---|
| Next by Date: | Re: Links, oh my!: 00008, David Cantrell |
| Previous by Thread: | Re: Could not lchown() symlink ???i: 00008, David Cantrell |
| Next by Thread: | What test for cp: 00008, Albert Shih |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |