Sponsored Content
Top Forums UNIX for Dummies Questions & Answers user & group read/write access question Post 302230129 by Katkota on Thursday 28th of August 2008 05:08:05 PM
Old 08-28-2008
Data user & group read/write access question

folks;
I created a new users on my SUSE box and i need to give this user/group a read write access to one specific folder. here's the details:

- I created new user "funny" under group "users".
- I need to give this user "funny" a read/write access to another directory that is owned by "root".

let's say i need to give this user a read/write access to this directory:
"/home/new/testing/" which is owned by root.

How can i do that?

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. Programming

read, write & STDOUT_FILENO....

hi guys, I'have a question 4 u. Why this code give me the right output (an integer on the stdout): read(fd,&mpid,sizeof(pid_t)); printf("%d\n",mpid); Instead this code give me only a blank line: read(fd,&mpid,sizeof(pid_t)); write(STDOUT_FILENO,&mpid,sizeof(pid_t)); ... (2 Replies)
Discussion started by: M3xican
2 Replies

2. UNIX for Dummies Questions & Answers

How do i access (mount, read & write) a floppy disk from the console, not being root?

welll, the title quite explains what i want to do thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies

3. Programming

Problem with read & write

Hello mates: I met problem with using read() & write(). I m trying to use read twice on client first time is the size of buffer, 2nd time is the buffer. I think I have to, coz I dnot know file size. So, I write twice on server as well -- 1st, filesize; 2nd, buffer. The problem is, sometimes,... (11 Replies)
Discussion started by: EltonSky
11 Replies

4. HP-UX

How to restrict a user group to access the kernel

Hi, Please any one can help me to know that how we can restrict a user group to access the kernel at all. (0 Replies)
Discussion started by: harishankar
0 Replies

5. UNIX for Dummies Questions & Answers

group & user permission question

Folks; I'd like to create a group on my Linux box & add a few users to it. Is there a way to do so and restrict this group/users to have access to only one or directory trees? Let's say i need this group to only have a read write access to only these two directories /opt/Virtu & /fsn/comers ... (10 Replies)
Discussion started by: Katkota
10 Replies

6. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

I need to find all the files that have group Read or Write permission or files that have user write permission. This is what I have so far: find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}' It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies

7. Solaris

file open/read/write/close/access by process

Hi want to know what file (descriptor+filename+socket) is being accessed by particular process on solaris. Purpose : while running perf. test, needs to find where is the bottleneck. We are providing concurrnet load for around 1 hr and needs to capture data related to file usage pattern... (1 Reply)
Discussion started by: raxitsheth
1 Replies

8. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

9. Shell Programming and Scripting

Write a scripts to kill idle user for 60 min. & email user list to admin in text file

Folks, I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3) List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies

10. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies
NFACCESS(8)						      System Manager's Manual						       NFACCESS(8)

NAME
nfaccess - Add access rights to a set of Notesfiles SYNOPSIS
nfaccess access-right topic [ topic ... ] DESCRIPTION
Nfaccess simplifies the task of adding an access-right to many notesfiles. The function is somewhat analagous to that of chmod(1). The access-right specifies a user, group or system and the permissions to be granted. The format is: <access-right> ::= [<type>:]name=<mode> <type> ::= {User, user, Group, group, System, system} <mode> ::= {d, r, w, a, n}+ The type specification can be omitted; when it is omitted, the name is assumed to be a user. The mode is additive. A mode of ``rw'' spec- ifies read and write. The ``n'' mode specifies null access. The new access right is inserted in each specified notesfiles access list. If the user/group/system already has an entry, the old entry is replaced with the new entry. All users are allowed to run this program. The changes are only applied to notesfiles for which the executing user is a director. This program lives in the notesfile utility directory, typically ``/usr/spool/notes/.utilities''. To automatically add specific access-rights to newly created notesfiles, the file ``/usr/spool/notes/.utilities/access-template'' is use- ful. If it exists, the file contains lines of acces-rights which are added to each notesfile as it is created. If several people share the administration of the notesfile system, each can be added to the access-lists of newly created notesfiles by placing appropriate lines in this file. EXAMPLES
nfaccess essick=drw /usr/spool/notes/* nfaccess group:srg=rw this that other nfaccess user:kolstad=rw mynotes In the first example, user `essick' is given director/read/write access to all the notesfiles in /usr/spool/notes. Any permissions (or restrictions) he might have had before are overridden. The second example gives group `srg' read/write access to notesfiles `this', `that' and `other'. In the final example, user `kolstad' is given read/write access to the notesfile `mynotes'. BUGS
Entries can not be removed from the access list with this program. Entries can not merely be augmented (``just add write permission'') with this program. FILES
/etc/passwd for the users name /etc/group for the users group /usr/spool/notes the default notesfile data base SEE ALSO
mknf(8), notes(1), nfcomment(3), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) University of Illinois at Urbana-Champaign Urbana, IL University of Illinois NFACCESS(8)
All times are GMT -4. The time now is 12:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy