Sponsored Content
Top Forums UNIX for Dummies Questions & Answers need command to change permissions Post 302115854 by pressy on Saturday 28th of April 2007 12:53:20 PM
Old 04-28-2007
see "man chown"

NAME
chown - change file ownership

SYNOPSIS
chown [-fhR] owner [ : group] file...

DESCRIPTION
The chown utility will set the user ID of the file named by
each file to the user ID specified by owner, and, option-
ally, will set the group ID to that specified by group.

regards pressy
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to change permissions in a certain directory?

Hi , I have a situation where plenty of users log in to the same directory and put in files. When they put in the files, I need those files to become group writable (chmod g+w) automatically. I have no control over the users' profiles. Is there a way to do it? (1 Reply)
Discussion started by: praveen_indramo
1 Replies

2. UNIX for Dummies Questions & Answers

How to do i change the user permissions..

Hi everyone, There are couple of users of which i need to give 2 of the users admin rights so that they are able to run the administration commands like "zoneadm" and locale. When logged in as root i am obviously able to do that.please suggest any way by which the other 2 user's permissions... (1 Reply)
Discussion started by: sankasu
1 Replies

3. UNIX for Dummies Questions & Answers

Need to change permissions

Hi everyone, There are couple of users of which i need to give 2 of the users admin rights so that they are able to run the administration commands like "zoneadm" and locale. When logged in as root i am obviously able to do that.please suggest any way by which the other 2 user's permissions can... (3 Replies)
Discussion started by: sankasu
3 Replies

4. UNIX for Dummies Questions & Answers

I am not able change the file permissions

while trying to view the access permissions to file by "ls -lrt" command it is opening some files int the dir after that segmentation fault ie core is generarting the dir.will anybody please what is the problem. (1 Reply)
Discussion started by: rajkumar_g
1 Replies

5. OS X (Apple)

Change access permissions

I purchased a 2TB hard drive, split it into two partitions, and formatted it as NTFS. I want to use the drive on my pc and my mac. How can I change the access permissions so Mac OS 10.4.11 will let me write to the drive? I tried this: $ chmod +a "admin allow write" /volumes/V2_Mac chmod:... (3 Replies)
Discussion started by: Me&MyMac
3 Replies

6. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

7. UNIX for Dummies Questions & Answers

To change permissions in mv or cp

Is there any option with mv or cp command so that a file permissions and name of the file can be changed in single mv or cp command. I searched man mv but doesn't found any option like that. (3 Replies)
Discussion started by: Devesh5683
3 Replies

8. UNIX for Dummies Questions & Answers

Change permissions

Hi everyboy, I've installed a Virtualbox on my computer, inside the VB i'm running RedHat. So my problems it's that i need to run the scripts runasroot.sh to install the guest addiont, i'm doing this by console. I wrote chmod 775 ./runasroot.sh but doesn't works. I'm login as root user. Any... (8 Replies)
Discussion started by: Newer
8 Replies

9. Shell Programming and Scripting

Help on script to change permissions

Hi All I have the following script that is supposed to change permissions of incoming files to a directory, but it does not seem to do what I want, please can you help: mkdir -p /tmp/tmpdir find /moneta_polled01/sgsn/ -exec ls -l {} \; |grep -v rwxrwxrwx |awk '{print $9}' >... (4 Replies)
Discussion started by: fretagi
4 Replies

10. UNIX for Beginners Questions & Answers

Command to change add permissions for a new user to all files in all subfolders and folders

Hi there! I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!), I would love some help figuring out this basic command (what I assume is basic). I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies
RPC.IDMAPD(8)						    BSD System Manager's Manual 					     RPC.IDMAPD(8)

NAME
rpc.idmapd -- NFSv4 ID <-> Name Mapper SYNOPSIS
rpc.idmapd [-v] [-f] [-d domain] [-p path] [-U username] [-G groupname] [-c path] DESCRIPTION
rpc.idmapd is the NFSv4 ID <-> name mapping daemon. It provides functionality to the NFSv4 kernel client and server, to which it communi- cates via upcalls, by translating user and group IDs to names, and vice versa. The options are as follows: -v Increases the verbosity level (can be specified multiple times). -f Runs rpc.idmapd in the foreground and prints all output to the terminal. -d domain Set domain to domain. This is used internally by NFSv4 and is typically assigned by the system administrator. By default, domain is set to be the FQDN of the host, minus the hostname. -p path Specifies the location of the RPC pipefs to be path. The default value is "/var/lib/nfs/rpc_pipefs". -U username Specifies the NFSv4 nobody user to be username. The default value is "nobody". -G groupname Specifies the NFSv4 nobody group to be groupname. The default value is "nobody". -c path Use configuration file path. -C Client-only: perform no idmapping for any NFS server, even if one is detected. -S Server-only: perform no idmapping for any NFS client, even if one is detected. EXAMPLES
rpc.idmapd -d "citi.umich.edu" -f -vvv Runs rpc.idmapd with the domain "citi.umich.edu" in the foreground, printing all messages to console, and with a verbosity level of 3. FILES
/etc/idmapd.conf SEE ALSO
idmapd.conf(5) AUTHORS
The rpc.idmapd software has been developed by Marius Aamodt Eriksen <marius@citi.umich.edu>. BSD
February 3, 2003 BSD
All times are GMT -4. The time now is 03:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy