PDA

View Full Version : [all variants] SVN error on NTFS partition from Ubuntu



pteri498
March 8th, 2010, 07:57 AM
I tried doing an svn checkout from a directory on an ntfs partition and get the following error:



cedric@cedric-eee:~/documents/school/309 $ svn co svn+ssh://path/to/project project
user@path's password:
svn: Can't set permissions on 'project/.svn/tempfile.2.tmp': Operation not permitted


I realize that there's no permission setting on an ntfs partition, but how do I make subversion not care about this?

kumarldh
May 3rd, 2010, 06:06 AM
Just encountered this situation, it was working before I upgraded to Lucid Lynx.

kumarldh
May 3rd, 2010, 07:28 AM
Well, I just looked into my /etc/fstab and I found that the user who is trying to run svn up doesn't have enough permissions for the filesystem on which the user is trying to run svn up/add/* commands. I simply did sudo svn up and it worked.

fvaresi
June 4th, 2010, 06:16 PM
Instead of using sudo, you should mount the partition using a different user/group. You can do this by editing the fstab line and adding the options uid=<your_user_id>,gid=<your_group_id>.