Odd vi error


 
Thread Tools Search this Thread
Operating Systems Solaris Odd vi error
# 1  
Old 08-09-2012
Odd vi error

Hello,
I have a weird think going on, on one of my servers.
Code:
vi filename
"/var/tmp" No such file or directory

What going on here?
# 2  
Old 08-09-2012
vi is using /var/tmp to store temporary files. It seems your server is lacking that directory.
# 3  
Old 08-09-2012
Thank for your help
I thinking that as well and made the directory. vi seems to work now. I don't know why the directory was missing. The permission on the directory on anther server is drwxrwxrwt. What is the t at the end? I will have to look it up.
# 4  
Old 08-09-2012
It is sticky bit. You can set it using:
Code:
chmod +t /var/tmp

This User Gave Thanks to bartus11 For This Post:
# 5  
Old 08-09-2012
Sticky bit is usually set on /tmp/ because it alters how permissions work on a folder. It means that users can't delete files that don't belong to them, as opposed to the usual behavior where having write-permissions on the folder means you're allowed to delete any files in it.
This User Gave Thanks to Corona688 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Odd error on grep

GNU/Linux 2.6.18-308.24.1.el5 I am debugging an existing script. I am getting an error Script_Error at line Program Completed... but, Line 202 is grep Script_Error $log_file ############################################################################## #### S C R I P T ... (2 Replies)
Discussion started by: Daniel Gate
2 Replies

2. UNIX for Dummies Questions & Answers

Finding the odd one out!

Hi guys, I wondered if someone would be able to help me. I have a number of files which all have entries in them looking something like; And I'm looking for a way where by I can compare a number of these files and identify the odd numbers in the sequence. So for example if I had to... (1 Reply)
Discussion started by: JayC89
1 Replies

3. Shell Programming and Scripting

Odd and even file names

Hello, I want to sort/identify 600 files according to odd or even numbers in the files names. How can I do this? The goal is to perform different ImageMagick operations based on even or odd numbers in the file names. The file names have this pattern: bdf0001.tif, bdf0044.tif and bdf0136.tif ... (4 Replies)
Discussion started by: garganmou
4 Replies

4. UNIX for Dummies Questions & Answers

even odd script

I need a unix script that check for even or odd. EXAMPLE:::: please enter the number to check: 12 the output: This is an even number it has to have prompts. (2 Replies)
Discussion started by: snyper2k2
2 Replies

5. Linux

odd telnet problem

Hey, I've got a RH9 box running telnet-server 0.17-25. Now i don't know what the problem is and i've been reading all night trying to find somthing like it. I am able to open a telnet session on the box using localhost and 10.10.10.6(machines address) but if i try to do it from another... (7 Replies)
Discussion started by: byblyk
7 Replies

6. UNIX for Dummies Questions & Answers

Odd file with no name

OS: Solaris 2.6 File with no name created Mar of 2000 - ls (with or without options) shows the file but no name associated with it. Example: ls -ltca -rw-r--r-- 1 root other 9721 Apr 16 2003 printcap -rw-r--r-- 1 root other 267 Apr 16 2003 -rw-r--r-- 1 root other 258 Apr 16... (3 Replies)
Discussion started by: RTM
3 Replies
Login or Register to Ask a Question