10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
does anyone know how to exclude a directory with chown or chmod?
im trying to do something like this
chown $username:$username $directory/*
chown $username:$username $directory/.*
chown $username:$username $directory
and
find $directory/* -type f -exec... (1 Reply)
Discussion started by: vanessafan99
1 Replies
2. Red Hat
I am having trouble figuring out how to do a "chmod o-w" for all files under a certain directory, while excluding directories under that certain directory.
I can do
chmod -R o-w /thisdirectory
but that changes permissions of all directories under the directory as well as files. I just... (2 Replies)
Discussion started by: austinharris43
2 Replies
3. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
4. 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
5. UNIX for Advanced & Expert Users
Hi Gurus,
is there a possibility to show where a user can write to?
i want to see all directories where a user has permissions to write to.
Kind Regards
FranzB (0 Replies)
Discussion started by: FranzB
0 Replies
6. 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
7. UNIX for Dummies Questions & Answers
Hi,
Just want to be sure that if I write a directory like:
/documents/script.pl
is the same as to write:
/documents//script.pl
Thanks in advance (1 Reply)
Discussion started by: fadista
1 Replies
8. Shell Programming and Scripting
I have the following script which writes the output of the scirpt in a log file in the same directory from which the script is run. I need the scipt to write the logs daily to a differnt directory with the date appended to the log on a daily basis.
The script is as follows...
.... (1 Reply)
Discussion started by: nirmal84
1 Replies
9. UNIX for Dummies Questions & Answers
I was attempting to change permissions on a directory, used a 'chmod -rwrwrw DirectoryName' command, and hit enter. Now, that directory shows that it's empty! How could this be? Any Ideas?
Thanks (1 Reply)
Discussion started by: SmooBG
1 Replies
10. UNIX for Dummies Questions & Answers
I am working on a new UNIX box that has been delivered to us, and noticed that the /home directory has 555 permissions on it (dr-xr-xr-x). Any attempt to create write permissions fails on this directory (such as chmod 777), responding only with a message;
chmod: WARNING: can't change home
... (3 Replies)
Discussion started by: ncarmstrong
3 Replies