Search Results

Search: Posts Made By: felix001
1
3,615
Posted By felix001
Umask
I need to set a umask of 022 for my ssh sessions, or within my profile.
I have set the umask in both bash_profile and bashrc.
and when i run umask i get 0022 but when i create a file i get,
...
12,252
Posted By felix001
ok cool... in the case of what im looking for...
ok cool... in the case of what im looking for what would commands would i need...

the directory in question is straight from root ... /datafarm

chown root:root /datafarm
chmod 750 /datafarm...
12,252
Posted By felix001
the folder is for my file sevrer so i need...
the folder is for my file sevrer so i need everyone to have read / execute access to it and the child files but i only want root to be able to write files to the folder....

And when i add a file...
12,252
Posted By felix001
Sticky bits and umasks
ive been looking at sticky masks and umasks but still slighty unclear how i can use them my enviroment.
I currently have 1 folder for which any file that is copied to this or moved here has its...
2,852
Posted By felix001
it doesnt seem to like that it says .. ...
it doesnt seem to like that it says ..

./sysloghtml.sh: line 14: [: /var/log/local2.log: binary operator expected
Unable to find logfile at /var/log/local?.log
2,852
Posted By felix001
Ive now found what I was looking for ... ...
Ive now found what I was looking for ...


LOG="/var/log/local
level=(Emergency Alert Critical Error Warning Notification Informational Debugging)
for i in 0 1 2 3 4 5 6 7
do
printf...
2,852
Posted By felix001
Do ... Loop
ill be the first to admit i am a bit of a bash scripting noob... but ive come againest a small problem...

LOG=/var/log/local2.log

for i in SEC-0 SEC-1 SEC-2 SEC-3 SEC-4 SEC-5 SEC-6 SEC-7
do
...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy