10 More Discussions You Might Find Interesting
1. Red Hat
I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies
2. Shell Programming and Scripting
I have changed the premission of a file to 777. Now I would like to change permission to previously used ( UNDO ). Is there any command ?:confused: (3 Replies)
Discussion started by: frintocf
3 Replies
3. Shell Programming and Scripting
Hi,
I have a shell script file which is set to access permission 000. When I login as root (sudo su) and try to run this script, I am getting the Permission denied error. I have read somewhere that root admin user can execute any kind of permission script. Then why this behavior? However, I can... (1 Reply)
Discussion started by: royalibrahim
1 Replies
4. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
5. UNIX for Dummies Questions & Answers
I would like to chmod the file which I am pulling from remote server onto my server.
I am using the following script:
sftp <server detail>
get abc xyz
chmod 666 xyz
bye
Though I could fetch the file successfully but I am not able to change the permission of xyz file on my server.
umask... (1 Reply)
Discussion started by: kdtrica
1 Replies
6. UNIX for Dummies Questions & Answers
After creating a user account...how do i verify if theres only read access on the account.
If not read access would i enter chmod a-xw "username"? (2 Replies)
Discussion started by: bigben1220
2 Replies
7. AIX
I got "Permission denied" error message when I rm or chmod a file.
I'm the owner of the file "lice_20091123.tar".
How can I solve this matter?
lice@appl:/midasapp/lice> whoami
lice
lice@appl:/midasapp/lice> who am i
guest pts/12 Nov 23 19:09 (ooo.ooo.ooo.oo) ... (3 Replies)
Discussion started by: kang
3 Replies
8. Programming
sprintf(fname, "core.%d", pid);
(void) unlink(fname);
if (ttrace(TT_PROC_CORE, pid, 0, 0, 0, 0) != 0) {
perror("TT_PROC_CORE pass");
Fail();
}
if (chmod(fname, 0) != 0) {
perror("chmod");
Fail();
}
Hi,
If i execute above code,everytime am getting below... (1 Reply)
Discussion started by: mansa
1 Replies
9. Shell Programming and Scripting
Hi!
I need help becouse I've server to backup and I've a lot of files with 700 permission and I need to change the mode to 755 before copy
So the point is. With find . -perm 700 -exec echo {} > textfile.txt \;
I got a text file with 3156 line which one... (3 Replies)
Discussion started by: ruben.rodrigues
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
when I launch my perl script, I write on the shell:
perl x.pl
How I can can change the permission to write only:
x
to launch the program? (2 Replies)
Discussion started by: Minguccio75
2 Replies