cancel
Showing results for 
Search instead for 
Did you mean: 

Changed permissions on Alfresco Folder, not working anymore

tbendubois
Champ in-the-making
Champ in-the-making
Hello Community.
I have set up an alfresco share server for a business, and I set up a network drive for everyone on the alfresco webdav client. Everything was going ok until yesterday, now they are getting error 80070780 when trying to copy a file over webdav and so I looked at the permissions and chmodded the /opt to 755 and restarted. Now Postgresql is complaining that the user who owns the directory must start it, but root owns the dir and root cannot start it. What are the default permissions for the /opt, and is there any way to get the postgresql working again?

Current version of Alfresco
Ubuntu 12.04 server
2 REPLIES 2

gyro_gearless
Champ in-the-making
Champ in-the-making
Hi,

first you should be aware that the filesystem permissions on the server have *nothing* to do with the permissions clients see on exported filesystems (they are managed by Alfresco itself). But i suppose you have just learned that the hard way  :?

Fixing the for PostgreSQK permissions very much depends on how and where PostgreSQL is installed - e.g. on my CentOS systems, all data files live in "/var/lib/pgsql/9.1/data/"
and are owned by postgresSmiley Tongueostgres, but this may be different on Ubuntu….


[root@borg215 ~]# ls -l /var/lib/pgsql/9.1/data/
insgesamt 200
drwx—— 7 postgres postgres  4096 24. Jul 17:11 base
drwx—— 2 postgres postgres  4096 24. Jul 18:13 global
drwx—— 2 postgres postgres  4096 12. Jul 15:42 pg_clog
-rw——- 1 postgres postgres  4104 16. Jul 16:19 pg_hba.conf
-rw——- 1 postgres postgres  1636 12. Jul 15:42 pg_ident.conf
drwx—— 2 postgres postgres  4096 18. Jul 10:36 pg_log
drwx—— 4 postgres postgres  4096 12. Jul 15:42 pg_multixact
drwx—— 2 postgres postgres  4096 24. Jul 15:21 pg_notify
drwx—— 2 postgres postgres  4096 12. Jul 15:42 pg_serial
drwx—— 2 postgres postgres  4096  6. Sep 09:48 pg_stat_tmp
drwx—— 2 postgres postgres  4096 31. Aug 10:42 pg_subtrans
drwx—— 2 postgres postgres  4096 12. Jul 15:42 pg_tblspc
drwx—— 2 postgres postgres  4096 12. Jul 15:42 pg_twophase
-rw——- 1 postgres postgres     4 12. Jul 15:42 PG_VERSION
drwx—— 3 postgres postgres  4096  4. Sep 18:57 pg_xlog
-rw——- 1 postgres postgres 19169 16. Jul 16:18 postgresql.conf
-rw——- 1 postgres postgres    71 24. Jul 15:21 postmaster.opts
-rw——- 1 postgres postgres    72 24. Jul 15:21 postmaster.pid
[root@borg215 ~]#

tbendubois
Champ in-the-making
Champ in-the-making
I was able to fix everything with a fresh install, and have learned my lesson as you mentioned Smiley Happy Thanks!