Subversion Repositories oidplus

Rev

Rev 365 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 365 Rev 387
Line 1... Line 1...
1
 
1
 
2
About the folder "userdata/attachments"
2
About the folder "userdata/attachments"
3
---------------------------------------
3
---------------------------------------
4
 
4
 
5
This folder is used by the plugin "publicPages/095_attachments".
5
This folder is used by the plugin "publicPages/095_attachments".
6
 
6
 
7
Contents:
7
Contents:
8
- userdata/attachments/filetypes.conf (optional) to define/overwrite fileformat descriptions placed in 3p/vts_fileformats/filetypes.conf
8
- userdata/attachments/filetypes.conf (optional) to define/overwrite fileformat descriptions placed in 3p/vts_fileformats/filetypes.conf
9
- Folders with attachments users have uploaded.
9
- Folders with attachments users have uploaded.
10
 
10
 
11
	Example for folder names:
11
	Example for folder names:
12
		oid_2_999: for a normal OID
12
		oid_2_999: for a normal OID
13
		oid_1_3_6_1_4_1_37476_30_9_<sysid>_<smallhash>: for a non-OID object
13
		oid_1_3_6_1_4_1_37476_30_9_<sysid>_<smallhash>: for a non-OID object
14
	If your system does not have a public key / system ID (e.g. because of missing OpenSSL), the names are
14
	If your system does not have a public key / system ID (e.g. because of missing OpenSSL), the names are
15
		oid_2_999: for a normal OID
15
		oid_2_999: for a normal OID
16
		oid_2_25_<...>: for a GUID
16
		oid_2_25_<...>: for a GUID
17
		<md5hash>: for other non-OID objects
17
		<md5hash>: for other non-OID objects
18
 
18
 
19
In order for the file attachment upload to work,
19
In order for the file attachment upload to work,
20
you need to adjust the folder permissions.
20
you need to adjust the folder permissions.
21
For example, on Linux "chown" to the user "www-data" or "chmod" to "0777".
21
For example, on Linux "chown" to the user "www-data" or "chmod" to "0777".