Menu

error in create access and auth files

Help
2016-09-26
2016-09-26
  • awadalla ahmed

    awadalla ahmed - 2016-09-26

    when i use create access file , the following error appear :
    Result of auth user file: Can't write to AuthUser file
    Result of access file: Cannot write to /etc/svn/accesstemp_3YwNMVz5

    btw my configration in /etc/svn-access-manager/conf like
    userfile = /etc/svn/svnaccess
    authfile= /etc/svn/svnpasswd
    plz discuss , or give me solution .... as soon as possible

     
  • Thomas Krieger

    Thomas Krieger - 2016-09-26

    make sure the process creating the access file is able to write into the directory /etc/svn. Consult your sysadmin if you are not familar with Unix permissions.

    /Thomas

     
  • awadalla ahmed

    awadalla ahmed - 2016-09-26

    dear M.thomas
    am an admin btw :) ,
    am sure that the user www-data had a full permission on the particular directory but when i click on create access file , the process of writting going well ! but it create two temporary files ! , and when i want to rewrite the access file , the error :
    ((Result of auth user file: Can't write to AuthUser file
    Result of access file: Cannot write to /etc/svn/accesstemp_3YwNMVz5 )) appear ,,,,
    kindly help ASAP .

     
  • Thomas Krieger

    Thomas Krieger - 2016-09-26

    as you are an admin you know about atomic operations? The temp files are created to move the new file to the original one. So it seems that either the move does not work or the temp file has the wrong file permissions. Maybe you habe selinux runninh in enforcing mode? If so please switch to permissive mode and test again.

     
  • awadalla ahmed

    awadalla ahmed - 2016-09-26

    thnx for support M.thomas
    everything going well ;)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.