Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 49

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 2nd April 2008, 10:49
sachind's Avatar
sachind sachind is offline
Join Date: Jan 2008
Posts: 2
sachind is on a distinguished road
Baan: Baan4c2 - DB: Oracle - OS: Unix
File operations

In one of the programs I have a statement file.chmod(tmp.file,438). Any ideas what does it mean?
Reply With Quote
Sponsored Links
Old 2nd April 2008, 11:06
günther günther is offline
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 575
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX
The function file.chmod() does the same as the appropriate unix command chmod, ie. it changes the permissions on files.

Normally, unix admins use the value in octal because that's much easier:
Digit 1 is for the user, digit 2 for the group and digit 3 for others; the bit
values are 4=execute, 2=write, 1=read.

So: 438 (decimal) is equivalent to 666 (octal), which means read and write permissions to everyone.
Reply With Quote
Old 2nd April 2008, 13:38
george7a's Avatar
george7a george7a is offline
Join Date: May 2004
Location: Nazareth
Posts: 1,491
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX

You can find the documnetation of the function here:

- George
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 11:35
How to print Postcript in landscape orientation heliopaixao Tools Administration & Installation 8 28th July 2006 13:39
directory an file operations spartacus Tools Development 3 26th June 2003 09:24

All times are GMT +2. The time now is 07:25.

©2001-2018 - -