svnlite barfing when updating from repo
Peter Beckman
beckman at angryox.com
Sun Jun 4 17:11:13 UTC 2017
--> svn: E000013: Can't remove file '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/patch-bin_yarn': Permission denied
If you cannot remove the file, then you do not have the "proper" permissions in that
directory -- not the top level, but at the leaf node
(.../net-im/mastodon/files/).
You need write permission on the immediate parent directory to remove a file.
One other possibility -- if the sticky bit is set on the parent directory,
ONLY the user that owns the file will be able to delete it.
Beckman
On Sun, 4 Jun 2017, Baho Utot wrote:
> when I am update my ports repo like this
>
> svnlite co "https://svn.freebsd.org/ports/head" "/usr/src/ports"
>
> svn: E155009: Failed to run the WC DB work queue associated with
> '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files', work item 132774
> (file-remove net-im/mastodon/files/patch-bin_yarn)
> svn: E000013: Can't remove file
> '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/patch-bin_yarn':
> Permission denied
>
> What causes this?
> I am updating the repo as a regular user and not root and the directory has
> the proper perms.
>
> I am getting this after I update a repo ( i do this once a month ) and it was
> fine last moth and now I get multiple failures. After:
> rm -rf /usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/; svnlite
> cleanup;
> svnlite co "https://svn.freebsd.org/ports/head" "/usr/src/ports"
>
> It will run until it finds another perm problem so I have to
> shampoo,rinse,repeat until the local repo is finally updated
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
---------------------------------------------------------------------------
Peter Beckman Internet Guy
beckman at angryox.com http://www.angryox.com/
---------------------------------------------------------------------------
More information about the freebsd-ports
mailing list