06-03-2002
Okay, what i meant is when I go into a file via vi and try to change something and save the changes with :wq, i get the message "Cannot create backup file, (use ! to override)". Also whenever i try to create a new file, after i write the file, and type :wq, it says "test.pl (that's my file) Cannot open file for writing" What does this mean? How come I cannot edit anything but can access the files and read them.
I tried man userconf. It gives me "no manual entry for userconf." Is userconf even a command?
Lastly, I'm not sure what OS this server is on. I inherited this project from a friend. It's a learning project for me, so I'm trying to get familiar with Unix and perl.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Use the following to Change permission of fileB (fileB could be fileB*) to change its permission same as the permission of fileA.
chmod `ls -l fileA | awk '{pr
int "u+", substr($1,2,1), substr($1,3,1), substr($1,4,1), ",g+", substr($1,5,1),
substr($1,6,1), substr($1,7,1), ",o+",... (0 Replies)
Discussion started by: gagansharma
0 Replies
2. Shell Programming and Scripting
Is it possible to change the permissons
for an entire directory in one shot?
I'm telneting on to a linux server.
...just a beginner--
--Paul (4 Replies)
Discussion started by: pdavid
4 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to change a unix user's default file permissions so that when he creates a file, by default permissions are 777???
Thanks! (7 Replies)
Discussion started by: FredSmith
7 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
I have a new HPUX system going into production and it will be used by 2 projects. One of the contract requirements is the 2 groups can not have access to the others work or data. I believe I have the system pretty well locked up using groups and permissions and selective mounting of... (2 Replies)
Discussion started by: DanL
2 Replies
5. Shell Programming and Scripting
does anyone know how to write a script that will change file permissions. because the Admin blocked me from altering any of my files im only allowed to read and i heard a script like this can bypass it but i dont know how to write it.
Display current users. Display user Ids only.
Display... (10 Replies)
Discussion started by: live2learn
10 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have a shell script which we keep on changing permissions on a On-Demand Basis-->for e:g--from 400(Read only) to 740(Execute permission) etc.
Is there any way by which I can view the history of the script?-->I am interested in finding out the date-time stamps when the script's... (2 Replies)
Discussion started by: DevotedPupil
2 Replies
7. OS X (Apple)
I have the following command. This is meant to download all files from my server to the Downloads folder of my startup drive:
/usr/local/bin/rsync -avve ssh --numeric-ids --delete --ignore-errors -R grndlvl@myserver.com:/usr/home/./grndlvl grndlvl@myserver.com:/usr/home/./grndlvl/mail_boxes/... (8 Replies)
Discussion started by: rlinsurf
8 Replies
8. Shell Programming and Scripting
HI,
I wann give permissions to a folder which contains multiple folders.....
how can i give permissions to all folder at a time
tat means if i give permissions to main folder it
the same permissions has to take on all the folders in the main folders
how can i use one command to give... (1 Reply)
Discussion started by: nani1984
1 Replies
9. UNIX for Dummies Questions & Answers
Hi, Im getting this annoying problem on file permission when I copy a folder to a mounted external directory. the files inside the copied folders become all executable. I tried to search for ways how to undo the permission over the web but to no avail.
tried this one but it doesnt change a... (2 Replies)
Discussion started by: ida1215
2 Replies
10. Shell Programming and Scripting
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user.
my requirement is to make a zipped file of this .dmp file.
What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies