Hi,
We are facing problem to delete some logfiles. Explaing with example for clear understanding :
we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both of them are in same group called 'release'
While prodxyz is trying to remove a file owned by... (4 Replies)
I have a Sun 4800 running on Solaris 9 OS. Each time I reboot the server the permissions on /tmp are change from root/sys 1777 to root/root 775. This causes a problem as I have custom programs the need this directory set to root/sys. I have search the sun site and can't find a solution. Anybody... (2 Replies)
I need to change permission for a directory from drwxrwxrwx to drwxr--s--T
What chmod command will work?
What will be the number code to represent the required permission? (4 Replies)
I am using oracle 9i with sun solaris 8 on Sun E 250 server.earlier we are taking backup of oracle archive files on /orabackup directory.in which archive file are stored with ...arc.Z extension. now we have changed the archive backup directory.now when we are trying to delete earlier directory... (3 Replies)
Hi All,
I am working on Solaris Sparc 9 and I developed application and in that I want to open any file when any action is happened but when I am trying to do the same.I am getting the error --
"Error launching /test.txt", "", "Process.execAndWait",
"java.io.IOException: Cannot run... (0 Replies)
Guys, I need help.
I need to change the .txt file permission after I have reset the file content to 0.
The code that reset the file content to 0 is as follows:
#!/bin/sh
for i in /root/script/*.txt
do
echo "0" > $i
done
However, the file is generated by the apache application,... (3 Replies)
Hi all,
Please help me solving the error that i get when i trigger the job from autosys. The job is failing after going to restart start and it is throwing an "exit code:128". Please help me understand whats this exit code and how to overcome this. And when i check the logs its giving me an... (4 Replies)
I want to change the permission of a dir to 777 after every hour in a background process.I do not have the access to the crontab , is there another way of doing it a scrit of some thing like that . Any help will be great. (1 Reply)
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
LEARN ABOUT DEBIAN
img-ppm
img-ppm(3tk)img-ppm(3tk)NAME
img-ppm - Img, Portable Pixmap format (ppm)
SYNOPSIS
package require Tk
package require img::ppm ?1.3?
image create photo ?name? ?options?
DESCRIPTION
The package img::ppm is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its
own, via package require img::ppm.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing
raster images in the Portable Pixmap format (ppm). More specifically img::ppm extends Tk's photo image type.
The name of the new format handler is ppm. This handler does not provide additional configuration options.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in ppm format (options -data and -file) is detected automatically.
[2] The format name ppm is recognized by the option -format.
SUPPORTED PPM TYPES
There are two types of PPM files: RAW (binary) and ASCII. Currently only the RAW format is implemented.
8-bit pixels: Grayscale, also known as PGM.
24-bit pixels: True-color (RGB, each channel 8 bit).
List of currently supported features:
Type | Read | Write |
| -file | -data | -file | -data |
----------------------------------------
8-bit | Yes | Yes | Yes | Yes |
24-bit | Yes | Yes | Yes | Yes |
SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img-
window, img-xbm, img-xpm
KEYWORDS
image handling, ppm, tk
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-ppm(3tk)