10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Apologies if this question has been asked before. I havent been able to resolve an issue and would like some help.
I am getting files pushed to me via sftp. The files once pushed to my server in folder ABC have -rw------- but I need these files to have the following -rw-rw---- to be... (1 Reply)
Discussion started by: israr75
First, oh great Unix gurus, forgive if this is a stupid question.
Unix/Linux is not my main thing but I have been programming in C/C++ for many years. I will do my best to be specific.
I have a program in C/C++ that needs to modify the time of a given file. Currently I do this using utime()... (5 Replies)
Discussion started by: Pug
3. Shell Programming and Scripting
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
I am trying to wite a Shell script which changes the permission of the files in a folder but stuck at a particular point,please help.
The scenario is as follwoing:
I am having a list of 10 files and a folder which has 100 files.
I need to copare the list and the folder ,for... (4 Replies)
Discussion started by: Sriram.Vedula53
6. UNIX for Advanced & Expert Users
I need to change all files/dirs
1. all files with 744
2. all dirs with 755
is there a script for that ?
thegunman (13 Replies)
Discussion started by: TheGunMan
7. UNIX for Dummies Questions & Answers
Is there any way to unzip a zip file and change file permissions to 777 while extracting the files. Does the file permissions on the zip file has to do anything with it(like zip read permissions only result in read uncompressed files etc.,)?
jp (2 Replies)
Discussion started by: jpk
8. Shell Programming and Scripting
I am running a linux centos server; our php script generates plenty of files in a directory, anything up to 1000 (though too often more).The files in these directories have permissions and ownerships which i need to change.
I have used shell comment for changing the file permission which is... (1 Reply)
Discussion started by: nilson
9. UNIX for Dummies Questions & Answers
Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Discussion started by: jee.ku2
10. Shell Programming and Scripting
I am very new to UNIX and Shell scripting, I need to run a script to check for file's and directoires permissions and change the permissions if necessary.
I appreciate your help..
Thanks (7 Replies)
Discussion started by: K-ONE