BRU utility


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers BRU utility
# 8  
Old 06-20-2003
You might want to try to use the -C option to change the owner and group ID of the files - maybe that is where the 'permission denied' is coming from ( just a shot in the dark).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Using at utility on 10.8.2 not working

I am a beginner, trying to get basic background utilities like at and cron to work on mac os x. I am typing the following at the prompt: at now + 1 minute open -a textedit ^D nothing happens at the appointed time. What to change? (7 Replies)
Discussion started by: sakurashinken
7 Replies

2. UNIX for Dummies Questions & Answers

BRU -T option

Can someone give me an example how to use bru command line with the -T option? Thanks, (1 Reply)
Discussion started by: mojoman
1 Replies

3. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

4. Shell Programming and Scripting

utility

hi experts, Can you please help me out in removing delimiters with in double quotes from a CSV file. input: ===== a,"bnn,",dgd, "sagfh,dj",ad output ===== a,"bnn",dgd, "sagfhdj",ad there are so mnay fileds in a row and there are millions of rows. Thanks in an advance.... (6 Replies)
Discussion started by: subhendu81
6 Replies

5. Solaris

utility of solaris

hello sir, can anyone tell about untility in Solaris similiar untility as SMITY in AIX and SAM in HP (2 Replies)
Discussion started by: amarnathbasis8
2 Replies

6. Filesystems, Disks and Memory

Problem with BRU

Hello, I need to restore a file that was backed up using BRU. For starters I need to know how to list the archive on my tape. I tried the following which is what the man page for BRU sugegsts: bru -xvf /dev/nst1 /violatio.sh I get the following error bru: warning - read error on first... (1 Reply)
Discussion started by: mojoman
1 Replies

7. Shell Programming and Scripting

Tr utility to Encrypt

I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies

8. Programming

MAKE utility

I wrote a makefile, every thing is working fine, But One of the C header files which is created by me is kept in a different folder other than the current directory, I have given this PATH to VPATH Variable Example :- VPATH = /home/user1/projects/victor.h It gives an error as : file... (4 Replies)
Discussion started by: victorvvk
4 Replies

9. Filesystems, Disks and Memory

bru command

I'm having trouble extracting files from a bru tape. The following are commands that I've tried and the respective outputs. will.rlee 224> bru -vgf /dev/nrtape label: created: Mon Nov 7 18:21:41 1994 device: freedom:/dev/mt/tps0d6 user: root group: ... (1 Reply)
Discussion started by: sherbet808
1 Replies

10. UNIX for Dummies Questions & Answers

What utility do I use for this?

I want to pull out the 3rd column of information and stick in a file. What is the Utility I use to do this? (8 Replies)
Discussion started by: James
8 Replies
Login or Register to Ask a Question
CHOWN(2)							System Calls Manual							  CHOWN(2)

NAME
chown - change owner and group of a file SYNOPSIS
int chown(const char *path, int owner, int group) DESCRIPTION
The file that is named by path has its owner and group changed as specified. Only the super-user may change the owner of the file, because if users were able to give files away, they could defeat file-space accounting procedures. The owner of the file may change the group to a group of which he is a member. On some systems, chown clears the set-user-id and set-group-id bits on the file to prevent accidental creation of set-user-id and set- group-id programs. RETURN VALUE
Zero is returned if the operation was successful; -1 is returned if an error occurs, with a more specific error code being placed in the global variable errno. ERRORS
Chown will fail and the file will be unchanged if: [ENOTDIR] A component of the path prefix is not a directory. [ENAMETOOLONG] The path name exceeds PATH_MAX characters. [ENOENT] The named file does not exist. [EACCES] Search permission is denied for a component of the path prefix. [ELOOP] Too many symbolic links were encountered in translating the pathname. (Minix-vmd) [EPERM] The effective user ID is not the super-user. [EROFS] The named file resides on a read-only file system. [EFAULT] Path points outside the process's allocated address space. [EIO] An I/O error occurred while reading from or writing to the file system. SEE ALSO
chown(8), chgrp(1), chmod(2). 4th Berkeley Distribution May 22, 1986 CHOWN(2)