![]() |
|
|
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 |
| file permissions | ranj@chn | Shell Programming and Scripting | 7 | 06-11-2008 12:37 PM |
| Add permissions to a particular file | Endo | UNIX for Dummies Questions & Answers | 6 | 03-19-2008 06:24 PM |
| To give the "unzip" permissions & "create" file permissions | Mike1234 | HP-UX | 3 | 03-02-2008 05:34 PM |
| File Permissions in Mac OS X | liveapple2000 | UNIX for Dummies Questions & Answers | 11 | 04-03-2002 12:16 AM |
| File Permissions | buRst | Filesystems, Disks and Memory | 3 | 02-12-2002 09:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
File Permissions (interesting one)
Hello everyone
Have a look into this... PROBLEM: Suppose we have many user under a group in unix OS and as we all know we can set the mode(rwx) of any file for users(ugo). But can i specify permission at user level that is user1,user2, ...user10 belongs to same group. Now user1 wants to grant permissions only to user2. Can we do this??? MY PROPOSED SOLUTION: To make another group with these two users ie user1 & user2 then we can easily do this by granting permissions at group level. But i think it is not good one because for this we have ask to administrator to create new group... Can we do this by ourself like with the help of shell programming or some other tools of Unix. Many Thanks in advance Lokesh Sharma |
|
||||
|
Unfortunately, for basic Unix, your first solution is the only one. You will have to create a custom group for those users. Fortunately, however, updated versions of Unix have added the concept of Access Control Lists. With them, you can grant user specific permissions on a specific file or directory. Check the documentation for what you are using, to see if Access Control Lists are supported.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|