You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael Chen <ch...@mathstat.yorku.ca> on 2011/08/02 03:04:32 UTC
cannot create directory in /db/transactions/
Dear there,
The user "svntest" has a ssh account on the server, and he executes this
to show the permission of directory "transaction":
[svntest@chen src_ampl]$ ls -l /home/svn/spuc/db/
total 28
-rw-rwSr-- 1 chensy spuc 8 Jul 30 16:02 current
-r--rwSr-- 1 root spuc 2 Mar 11 11:53 format
-rw-rwSr-- 1 root spuc 5 Mar 11 11:53 fs-type
drwxrwsr-x 2 root spuc 4096 Jul 30 16:02 revprops
drwxrwsr-x 2 root spuc 4096 Jul 30 16:02 revs
drwxrwsr-x 2 root spuc 4096 Jul 30 16:02 transactions
-rw-rwSr-- 1 root spuc 37 Mar 11 11:53 uuid
-rw-rwSr-- 1 root spuc 0 Mar 11 11:53 write-lock
he verifies that he is in the group "spuc":
[svntest@chen src_ampl]$ getent group spuc
spuc:x:505:chensy,zhaoming,svntest
yet, he can't create files in the directory "transaction":
[svntest@chen src_ampl]$ touch /home/svn/spuc/db/transactions/temp
touch: cannot touch `/home/svn/spuc/db/transactions/temp': Permission denied
so he double checked his umask too:
[svntest@chen src_ampl]$ umask
0002
all seem right, but he cannot write into the directory, why?
The system is CentOS 5.0.
Sincerely Yours,
Michael Chen
Re: cannot create directory in /db/transactions/
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Michael Chen,
am Dienstag, 2. August 2011 um 03:04 schrieben Sie:
> all seem right, but he cannot write into the directory, why?
Do you have something like SELinux or AppArmor running?
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: tschoening@am-soft.de
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow