Roberto_L
4th December 2002, 17:20
Creating tables for a new Company with a superuser different to bsp I get a 'error 13' (which is a unix file permission problem) only creating parameters tables (i.e. tdilc000).
This are the directory permission for my directory:
drwxr-x--x 6 bsp bsp 8192 Dec 3 08:42 audit
drwxr-xr-x 28 bsp bsp 8192 Nov 29 15:56 bse
drwxr-xr-x 31 bsp bsp 8192 May 12 2002 dict
drwxr-xr-x 4 bsp bsp 8192 May 5 2001 tables
Can anyone tell me if they are correct?
Any suggest is welcome.
Thank you.
nick_rogers
4th December 2002, 17:27
is the superuser part of the "bsp" group ??
Roberto_L
4th December 2002, 17:31
Sure.
I forgot to write it: every user has "bsp" as primary group.
talebaan
4th December 2002, 18:05
Hi Roberto, probably the problem is in audit directory permissions.
When you create a new company, Baan must create audit files for mandatory tables. With these audit dir permissions only bsp user can write in this directory and subdir.
I must go to the parent directory $BSE/.. and change the permission of audit dir with this command:
chmod -R 770 audit
I should solve the problem.
Bye
patvdv
4th December 2002, 18:05
If it's only the parameter tables, then it's probably linked to your audit setup. It's compulsory to audit all parameter tables.
Roberto_L
4th December 2002, 18:44
I changed files permission with command:
chmod -R 770 audit
... and it solved my problem!
THANK YOU VERY MUCH TO ALL!!!
Dikkie Dik
4th December 2002, 18:54
Assuming you are using bisam/tbase/bisam-tp/tbase-tp or what ever name we invented: File perfmissions are partly used from the user and partly from the owner of the tbase6.1 file. When doing an ls -l on this file (located in $BSE/bin) you will see that it contains some s bits. This causes problems when setting the permissions on directory/table level to narrow for this user or the user you used to access Baan. So, being super user was not enough also the owner of tbase6.1 should be able to access the table.
Dick