-R, --recursive
change files and directories recursively
Quote:
chmod (GNU coreutils) 8.13
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Hi!! Experts,
Is there any way to find the timestamp when the permission of a file was modified?? I mean no change to file contents.. Just the chnage of permissions.
:) (1 Reply)
I am creating a file using the UTL_FILE command of oracle. This creates a file with the oracle user id. The file does not have permission for being read by any other user id. Is there a way that I can change this default permission. I tried using umask in the .login. Setting the umask to 022 works... (2 Replies)
Guy's
we are in AIX 5.3
We have created two users user1 and user2 and they are under same group Staff Group
user1 will create file under /tmp/ and this is the permission of this file
-rw-r--r-- 1 user1 staff 1 Jun 13 09:47 file
user2 is under same group and when he... (14 Replies)
I have a directory named DIR. The contents of the directory is something like:
a.sh
b.sh
cghsk.sh
assjsjkd
gdshddll
DFG/
...
...
Where only DFG/ is a folder.
I want to grant execute permission to all(a+x), for all the files directly under the DIR directory except the files that... (4 Replies)
Guys, I need help.
I need to change the .txt file permission after I have reset the file content to 0.
The code that reset the file content to 0 is as follows:
#!/bin/sh
for i in /root/script/*.txt
do
echo "0" > $i
done
However, the file is generated by the apache application,... (3 Replies)
Hi,
A file is transferred from a Windows server(say username : user1) to Unix server via ftp.
In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod.
Is there... (5 Replies)
Hello,
I made a mistake in a script and now need to go back and change allot of filenames. I need to change "v4" in filenames to "v3". I was thinking of something like this.
#!/bin/bash
FILELIST=$(ls -f -R *)
for FILE in $FILELIST
do
# create new filename
... (5 Replies)
I got a problem with the permission of mounted 2TB drive in my Linux/Mint system. All the files in any folder are with 777, which is not what I want.
my fstab line for this disk is:
UUID=90803E0C803DF974 /media/grape/Workspace1_ntfs ntfs auto,users,permissions 0 0 and blkid gave me:
$> blkid
... (4 Replies)
Hello,
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies
LEARN ABOUT SUSE
pathchk
PATHCHK(1) User Commands PATHCHK(1)NAME
pathchk - check whether file names are valid or portable
SYNOPSIS
pathchk [OPTION]... NAME...
DESCRIPTION
Diagnose invalid or unportable file names.
-p check for most POSIX systems
-P check for empty names and leading "-"
--portability
check for all POSIX systems (equivalent to -p -P)
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by Paul Eggert, David MacKenzie, and Jim Meyering.
REPORTING BUGS
Report pathchk bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
COPYRIGHT
Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for pathchk is maintained as a Texinfo manual. If the info and pathchk programs are properly installed at your
site, the command
info coreutils 'pathchk invocation'
should give you access to the complete manual.
GNU coreutils 7.1 July 2010 PATHCHK(1)