Change permission of Folders and file separately in linux, ubuntu
Often you come across a situation when you need to change the permission of all folder in a directory not file. if you use chmod with -R will change the permission of all folder and files. and in same way you need to change the permission of files only inside a files not folders inside that folder.
Change only folder permission
user@server1 [~/public_html/sites/all]# find -type d -exec chmod 755 {} \;
One of our client awarded us the contract of CIVICRM data migration. We were very excited that this was the first time we were doing such a big data migration (250K Contacts and related contribution data) in CIVICRM.
If you want to enable or disable all constraints which is normally done in datawarehousing jobs you are likely to get two errors ORA-02270: no matching unique or primary key for this column-list or ORA-02297 cannot disable constraint (SYS_C0010965) - dependencies.
To avoind this you should enable or disable constraint in a order. To disable all constraints use "order by constraint_type desc" ie. disable foreign ket first and then Primary key. Likewise if you are enabling do it in reverse order. for eg. "order by constraint_type"