![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sort command - strange behaviour | miwinter | UNIX for Advanced & Expert Users | 16 | 05-29-2008 07:19 AM |
| Longer commands and strange behaviour on ksh | anurags | UNIX for Dummies Questions & Answers | 2 | 03-27-2008 11:04 AM |
| Strange sed behaviour | vino | UNIX for Advanced & Expert Users | 8 | 02-12-2008 06:51 AM |
| /etc/passwd strange behaviour! | penguin-friend | Linux | 0 | 06-06-2005 12:00 PM |
| very strange behaviour on unix server | bolo77 | UNIX for Dummies Questions & Answers | 7 | 03-02-2005 03:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
A Strange Behaviour!!!
Can some-one give me a view to this :
I have a directory in an unix server, having permissions r-xr-xr-x .This directory is basically a source directory. Now there is another directory basically the destination directory which has all the permissions. Note:I log in as not the owner,but user of the group. Is it possible to cp the files from the source directory to the destination directory. (It was possible but i found it a bit erie as i didn't had the "w" permission in the source directory). The second issue is I have a source directory with all the permissions.I have a file "abc" in that directory along with another file "def" in the same. I created a 0 byte file "abc" in the destination directory having -r-xr-xr-x access but no 0 byte file for "def". Now the erie thing is I am able to copy "abc" to the destination directory but not able to copy the file "def". Note:I log in as not the owner,but user of the group. WHY??? |
|
||||
|
Quote:
What are the permissions of "def" in the source directory? |
|
||||
|
Hi porter,
In both the cases i was trying to copy to the destination. And the permission for "def" can be -rwxrwxrwx or -r-xr-xr-x,tried with both. the directory where i wanted to copy def had -r-xr-xr-x. Hope i gave ur reply. thanks....and the reason please? |
|
||||
|
Hi Perdorabo,
Thanks for you comments but in the second case I think you may have noticed that I am trying to copy to the destination which doesn't have the write permissions. So in that case would the CD rule persist ? |
|
||||
|
How to make things simple?
How about "You need write permissions to write." Nothing odd or strange going on. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|