10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
Seeking for your assistance on how to log that has been chmod,mv,chown,chgrp and how to prevent script running while chmod,mv,chown,chgrp are still running?
Ex: a/b/c-folder
file1.txt
file2.txt
file3.txt
chmod 777 *
chown owner
owner group
mv
what i did was(please see... (6 Replies)
Discussion started by: nikki1200
6 Replies
2. UNIX for Dummies Questions & Answers
hello,
I am trying to copy a file over to a set of aix servers and then set the file permissions, owner, group etc and all of this logged in as sudo. I was able to copy the file over using rcp - i know its not secure or not best way to copy - but unable to execute chmod on the remote server as... (0 Replies)
Discussion started by: in5ane
0 Replies
3. Shell Programming and Scripting
Hi,
Im struggling with what chmod to change the permission of a file in the current directory named MyFile so the command "cat MyFile" fails to display the file.?? (10 Replies)
Discussion started by: tryintolearn
10 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. Shell Programming and Scripting
Hi,
I have a typical problem. Consider the scenario:
Folder1
------> Folder2 ------> File1
------> Folder3
Above is my folder structure, currently the user group "other" has no permissions. I wish to give "read" permission for "others" to File1 using a single command.
chmod -R... (5 Replies)
Discussion started by: animesh303
5 Replies
6. 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. Pls... (5 Replies)
Discussion started by: kdtrica
5 Replies
7. 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
8. Solaris
This is Solaris 10, by the way.
I am aware of ACLs or something like that in Solaris 10 where you can change who can access directories and such that goes beyond the standard permisisons (chmod and rwxrwxrwx).
Although I thought when these were being used, the permissions listing would show a... (12 Replies)
Discussion started by: lyonsd
12 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 gurus !
I am developing a FTP script which will copy all the files from one server to another server and then I need to use CHMOD 755 * to set permissions of all the files just copied to the remote server.
mput *
chmod 755 *
CHMOD gives me an error
CHMOD works fine If I specify... (3 Replies)
Discussion started by: sdlayeeq
3 Replies