Sponsored Content
Homework and Emergencies Homework & Coursework Questions changing permissions of a file whos name was passed to 755 Post 302399228 by methyl on Friday 26th of February 2010 06:48:38 PM
Old 02-26-2010
This forum is the legacy of DECUS (1961) and similar parallel strong root forums who acknowledge that System Administrators and System Programmers often work alone but are part of a powerful global community.

Last edited by methyl; 02-26-2010 at 08:40 PM.. Reason: Date
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

changing file permissions

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

Changing Permissions

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 Advanced & Expert Users

Changing file permissions on upload

Hello ! When I connect to a RH FTP server, the files I transfer (from my "windows computer") to this server have the following permissions : -rw------- but I would like those files to have the following permissions : - rw-rw-r-x How can I do that ??? :) Thanks for your help ! G. (6 Replies)
Discussion started by: guix
6 Replies

4. UNIX for Dummies Questions & Answers

changing default file permissions

How can I change the default permissions that are assigned when I create a file? (By default the file has: -rw-r--r-- ..... I'd like it to be -rw-r----- How can I change this default behavior? (8 Replies)
Discussion started by: FredSmith
8 Replies

5. UNIX for Dummies Questions & Answers

Changing file permissions

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

6. UNIX for Dummies Questions & Answers

changing permissions on a 444 file (ie chmod 444)

if I have a file set to permisions 444 (r-- r-- r--) should anyone other than the owner and root be able to change these permissions or delete the file. Apologies if this is a no-brainer but I cant test it myself and someone in our organisation is playin around with files they shouldnt be (1 Reply)
Discussion started by: ajcannon
1 Replies

7. Cybersecurity

changing /cn@0:console file permissions

I'm doing a security sweep of a Sun Sol 5.8 system. The file: /dev/console, which links to /devices/pseudo/cn@0:console, has the following perms: crw--w--w- I would like to get rid of the world write permissions. I can change the file permissions, but as soon as log back in, they are changed... (4 Replies)
Discussion started by: ErnieG
4 Replies

8. Shell Programming and Scripting

HELP changing file permissions

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

9. Homework & Coursework Questions

changing permissions of a file whos name was passed to 755

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell script that gives a passed file the "755" access permissions. The shell script should: Change... (0 Replies)
Discussion started by: anix007
0 Replies

10. Shell Programming and Scripting

Changing file permissions of a file created by another user

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
filter(1)						      Easy Software Products							 filter(1)

NAME
filter - cups file conversion filter interfaces SYNOPSIS
filter job user title num-copies options [ filename ] DESCRIPTION
The CUPS filter interface provides a standard method for adding support for new document types to CUPS. Each filter is capable of convert- ing from one or more input formats to another format that can either be printed directly or piped into another filter to get it to a print- able format. Filters must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a tempo- rary file as required by the file format. All output must be sent to the standard output. The command name (argv[0]) is set to the name of the destination printer. ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing each filter: CHARSET The default text character set (typically us-ascii or iso-8859-1). CLASS When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable will not be set. CONTENT_TYPE The MIME type associated with the file (e.g. application/postscript). CUPS_DATADIR The directory where data files can be found. CUPS_SERVERROOT The root directory of the server. DEVICE_URI The device-uri associated with the printer. LANG The default language locale (typically C or en). PATH The standard execution path for external programs that may be run by the filter. PPD The full pathname of the PostScript Printer Description (PPD) file for this printer. PRINTER The name of the printer; this is provided for shell scripts which may not be able to get the passed argv[0] string. RIP_CACHE The recommended amount of memory to use for Raster Image Processors (RIPs). SOFTWARE The name and version number of the server (typically CUPS/1.1). TZ The timezone of the server. USER The user executing the filter (typically lp). COMPATIBILITY
While the filter interface is compatible with System V interface scripts, it will only work with the System V interface script as the only filter. Typically the interface script will be provided via the lpadmin(8) command using the -i option. SEE ALSO
backend(1), cupsd(8), CUPS Interface Design Description, CUPS Software Administrators Manual, CUPS Software Programmers Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 22 June 2000 Common UNIX Printing System filter(1)
All times are GMT -4. The time now is 04:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy