|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Changing file permissions of a file created by another user
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user. my requirement is to make a zipped file of this .dmp file. What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change the permissions of this .dmp file to 0644. P.s it is created by "oracle" user and i want to change the permission from my UNIX users. Please help. TIA! |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
No, you can't change permission of a file until and unless you are the owner of the file/ you are a root user.
If you belongs to oracle user Group, you have read permission. So, you can copy the dump file and do whatever you want to . And one more thing the db dump file is already a compressed file . So, zipping the file doesn't make sense |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Setting permissions :
If it were a compressed file already, then why is the "compression" option available where we can specify metadata_only, data_only, all or none ??
|
|
#4
|
|||
|
|||
|
The data_only , metadata_only options are available to know the content you want to dump from DB
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a File system with required permissions for all DIR's created in | firestar | UNIX for Dummies Questions & Answers | 6 | 06-14-2010 11:18 AM |
| HELP changing file permissions | live2learn | Shell Programming and Scripting | 10 | 12-12-2008 10:31 AM |
| Changing file permissions | FredSmith | UNIX for Dummies Questions & Answers | 7 | 05-17-2006 08:15 AM |
| Changing file permissions on upload | guix | UNIX for Advanced & Expert Users | 6 | 07-13-2004 04:37 PM |
| changing file permissions | gagansharma | Shell Programming and Scripting | 0 | 11-27-2001 10:26 PM |
|
|