[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: Subversion Can't set permissions on [500, #13]

From: Dering, Hermann <h.dering_at_insiders-technologies.de>
Date: Fri, 9 Jan 2015 10:41:19 +0000

Hi brane,

thank you for your response.

What I do not understand, check-in the single revisions works perfect.

What I've done now is, I moved the repository on a local space, created 2 revisions (53000, 53001) (through svn://) and moved it back to the network share.
Now we can check-in again.

Maybe it would help to deactivate the check, if set the permission was sucessfull or put it optional with a flag.

Best regards,
Hermann

-----Ursprüngliche Nachricht-----
Von: Branko Čibej [mailto:brane_at_wandisco.com]
Gesendet: Freitag, 9. Januar 2015 11:18
An: users_at_subversion.apache.org
Betreff: Re: Subversion Can't set permissions on [500, #13]

On 09.01.2015 10:18, Dering, Hermann wrote:
>
> Hello guys,
>
>
>
> we have a strange behavior.
>
>
>
> We have Ubuntu 12.04 installed with Subversion 1.8.10. The
> authentication works through Apache (https) and ldap authentication.
>
> The subversion repositories reside on a netapp share (mounted through
> cifs).
>
>
>
> This is the entry in /etc/fstab:
>
> //fileserver04.insiders.zz/SVN_PROD /data/SVN_PROD cifs
> noperm,username=domain/user,password=mypass,uid=33,gid=33,nobrl,file_mode=0777,dir_mode=0777,setuids,cache=none
> 0 0
>
>
>
>
>
> Until yesterday everything worked.
>
>
>
> The repository has 52999 versions. Now when a Client tries to
> check-in a next revision (TortoiseSVN) he gets the failure:
>
> „Can’t set permission on ‚/data/SVN_PROD/{path_to_repo}/db/revs/53‘“
>
>
>
> The apache log says:
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] Could not MERGE
> resource "/Development/smartFIX/!svn/txn/52999-16wb" into
> "/Development/smartFIX/Current/trunk/dev/src". [500, #0]
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] An error
> occurred while committing the transaction. [500, #13]
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] Can't set
> permissions on '/data/SVN_PROD/Development/smartFIX/db/revs/53' [500,
> #13]
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] Can't set
> permissions on '/data/SVN_PROD/Development/smartFIX/db/revs/53':
> Permission denied [500, #13]
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] Could not fetch
> resource information. [404, #0]
>
> [Thu Jan 08 14:27:02 2015] [error] [client 10.54.6.95] Named
> transaction doesn't exist. [404, #175002]
>
>
>
>
>
> My guess is he wants to create the new folder 53 (which works well),
> but the permission on the folder he can not set (chmod, chown).
>
>
>
> I copied the repository on a local directory and connected to the
> repository through svn://. I could created more than 53000 revisions.
>
>
>
>
>
> Has anyone any idea what could be the problem?
>

CIFS has a completely different permission model than Subversion expects on a Linux server. On top of that, the NetApp has a different implementation of CIFS than a real Windows server; so, who knows what limitations and quirks it has.

I really recommend not using NAS for the repository. If you can't keep it local, try using iSCSI or an equivalent SAN configuration.

-- Brane
Received on 2015-01-09 11:44:27 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.