Sponsored Content
Operating Systems AIX Permissions on directories and files Post 302939674 by Corona688 on Friday 27th of March 2015 02:44:54 PM
Old 03-27-2015
To set other-read and other-executable bits on all folders in a tree:

Code:
find /test123 -type d -exec chmod o+rx '{}' ';'

This is different than chmod -R in that it doesn't set the files, too.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Permissions for Directories and Subdirectories

Is it possible to have a directory owned (by root) with permissions drwx------ and then have a sub directory of rwxrwxrwx. I know that this may be soo simple but I had no luck googling it. Thanks for your help (1 Reply)
Discussion started by: clancymf
1 Replies

2. Shell Programming and Scripting

Need help in changing Permissions to 775 for files and directories

Hi All I need to create a script which would change Permissions to 775 All the Files and directories will be mentioned in the Paramter files Can anyone give a Hint how to proceed in this ?? THanks (1 Reply)
Discussion started by: ranga27
1 Replies

3. Ubuntu

Newbie, Directories permissions

Basicly im trying to edit a file for apache2 in /var/etc/apache2 and i dont have permissions, my login name is associated with root but i still can't do anything, Does anyone have any ideas? Thanks in advance! (3 Replies)
Discussion started by: sypherz
3 Replies

4. UNIX for Dummies Questions & Answers

how to change permissions only to files, not directories....?

Hi, I am really new to unix, any help is much appreciated. I need to change permissions of all files under several subdirectories to 700 but keep directories readable (755). Why ? Because I need a FTP user to only list his files and can't read them. But to browse to subfolder, the directories... (3 Replies)
Discussion started by: narrok
3 Replies

5. Shell Programming and Scripting

Create duplicate directories with same permissions

Hi all, I need to create duplicate directories and sub directories (only the directories not the files or file contents) with the same permissions. Can some one guide me in doing this. I could able to create but here the permissions should be the same how can i do this in linux. Thanks in... (5 Replies)
Discussion started by: Olivia
5 Replies

6. Linux

Default user:group permissions while creating files and directories

Hi, I am working on setup a environment where only a specific user can upload the builds on htdocs of apache. Now i want that a specific user can copy the builds on htdocs folder. I created a group "deploy" and assign user1 and user2 to this group. On Apache side i mentioned User=deploy... (3 Replies)
Discussion started by: sunnysthakur
3 Replies

7. Shell Programming and Scripting

Compare the Permissions for all the scripts that exists in two Directories

Hello All, I am in the process of finding the permissions on all the files that exists in two directories: Dir1: PROD_Scripts/* Dir2: STAGE_Scripts/* Both the Directories have some shell and perl scripts respectively. Step1: Finding all the Scripts that exists in PROD but Not in STAGE.... (2 Replies)
Discussion started by: filter
2 Replies

8. Shell Programming and Scripting

Find only files/directories with different permissions/owners

My git post-update has the following lines in it to make sure the permissions are set right: find /usr/local/apache/htdocs -type d -print0 | xargs -0 chmod 755 find /usr/local/apache/htdocs -type f -print0 | xargs -0 chmod 644 chown -R apache:apache /usr/local/apache/htdocsThe only problem is... (5 Replies)
Discussion started by: dheian
5 Replies

9. Shell Programming and Scripting

Script to change Permissions on files and directories

Hey, It's me again. Have a problem, that's not really a problem. I have the below script, that goes to the directory I want it to go to. lists out the directories available, lets you choose the directory you want, then it changes the permissions on said directory. using chmod -R and chown -R. ... (2 Replies)
Discussion started by: gkelly1117
2 Replies

10. Shell Programming and Scripting

Find comand directories permissions

Hi, In the code below, while the "xarsg" command does not search in "tavi_valo" subdir? IAB00201:UG02222:EXPL> ls -1|xargs -IXX find XX -name tv_va_servbonos 2>/dev/null UG02222/fuentes/TAVA/TAVA4E0000/backup/tv_va_servbonos... (2 Replies)
Discussion started by: Jose Luis
2 Replies
uucheck(8)						      System Manager's Manual							uucheck(8)

NAME
uucheck - Checks for files and directories required by uucp SYNOPSIS
uucheck [-v] [-xdebug_level] FLAGS
Displays a detailed explanation of how the uucp program interprets the permissions file. Displays debugging information. The valid range for debug_level is 0 to 9. The higher the number, the more detailed the final report. DESCRIPTION
The uucheck command verifies the presence of the files and directories required by the uucp program. In addition to checking for the pres- ence of files required by uucp, the uucheck command also checks for some errors in the /usr/lib/uucp/Permissions file. The uucheck command does not check for correct file and directory modes or for errors in the /usr/lib/uucp/Permissions file, such as dupli- cate login or machine names. When the uucp program is installed, uucheck verifies that the directories, programs, and support files required to operate the networking facility are present. The command is executed automatically, as one of the first steps in the installation process, before the required uucp directories, programs, and files are actually installed. Issue the uucheck command from the command line after installing uucp, configuring uucp for your site, or making changes in part of the uucp program, such as the /usr/lib/uucp/Permissions file. Note that the uucheck command can only be issued from the command line if you have superuser authority. EXAMPLES
To find out how the uucp program interprets the /usr/lib/uucp/Permissions file, enter: uucheck -v The -v flag instructs the uucheck command to verify that the uucp files exist and displays a detailed explanation of how the uucp programs interpret the permissions file. To set the debug level to 8, enter: uucheck -x8 FILES
Specifies the command path Information about available devices Limits scheduled jobs Limits remote command executions Describes access per- missions for remote systems Describes accessible remote systems Spooling directory Public directory Prevents multiple use of device nn RELATED INFORMATION
Commands: uucico(8), uusched(8), uucp(1), uustat(1), uuto(1), and uux(1) delim off uucheck(8)
All times are GMT -4. The time now is 11:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy