![]() |
|
|
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 |
| How to copy owner permissions to group | ynixon | UNIX for Dummies Questions & Answers | 4 | 09-04-2008 11:29 AM |
| copy a fs with the same privileges | itik | AIX | 3 | 05-08-2008 03:09 PM |
| Privileges User ((Please urgent)) | AIX122 | AIX | 6 | 02-25-2008 05:53 AM |
| new user - basic privileges | melanie_pfefer | UNIX for Advanced & Expert Users | 1 | 12-07-2006 12:49 PM |
| User Privileges | gdboling | UNIX for Advanced & Expert Users | 1 | 10-29-2002 06:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hey there
I have a problem and i was hoping that you guys could help me out I want to copy a user privileges to a group and i need to copy all privileges(Recursively) every directory with all its sub directories and I tried some solution and it did not work. I used the following command:- find $1 -exec /bin/sh -c 'chmod g+`ls -ld "{}" | cut -c2-4` "{}"' I used this one and I'm new to AIX, and I don't know where does the group name supposed to go or the initial directory and I'm in a huge mess. so could you please tell me what went wrong or give me another solution that would be great Thanks in Advance Last edited by otheus; 10-14-2008 at 06:41 PM.. Reason: Moved - I think this is a general question. Not really AIX specific. |
|
||||
|
Quote:
thanks but i still having the same error I have logged in with the owner of the folder then directly typed the exact command above and i keep getting the same error:- Usage:find Path-list [Expression-list] so if any one have any suggestions that would be great Thanks for your cooperation |
|
||||
|
Quote:
ls: 0653-341 The file {} does not exist. chmod: {}: A file or directory in the path name does not exist. it seems that i should specify the initial directory but I'm not sure What you think? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|