The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-17-2008
lokesh.sharma lokesh.sharma is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 2
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
  #2 (permalink)  
Old 02-17-2008
sakshale sakshale is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 1
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0