01-09-2013
Setting permissions :
If it were a compressed file already, then why is the "compression" option available where we can specify metadata_only, data_only, all or none ??
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. UNIX for Advanced & Expert Users
So I need to change the permissions of my user account. I can
access the root account on the server, but don't know how to
change the permissions of my user account. I was advised to
try 'userconf' to see if I am part of a group, but I dunno how that works. ANyone who knows how to see the... (3 Replies)
Discussion started by: achink125
3 Replies
3. UNIX for Advanced & Expert Users
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
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
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. Cybersecurity
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
7. 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
8. Homework & Coursework Questions
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
9. Homework & Coursework Questions
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... (5 Replies)
Discussion started by: anix007
5 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
I am application admin. I need to clear all the temporary files cleared by the applications. I need help/suggestion that is there any way to create a file system such that every Dir created in by any user will have 775 permissions. So, that i can simply clear the temporary file which... (6 Replies)
Discussion started by: firestar
6 Replies
LEARN ABOUT DEBIAN
advdef
AdvanceCOMP Deflate Compression Utility(1) General Commands Manual AdvanceCOMP Deflate Compression Utility(1)
NAME
advdef - AdvanceCOMP Deflate Compression Utility
SYNOPSIS
advdef [-z, --recompress] [-0, --shrink-store]
[-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra]
[-4, --shrink-insane] [-f, --force] [-q, --quiet]
[-h, --help] [-V, --version] FILES...
DESCRIPTION
The main purpose of this utility is to recompress the data present in the .png, .mng, .gz, .tgz and .svgz files.
The internal structure of the files isn't changed. Only the compressed data is modified.
OPTIONS
-z, --recompress FILES...
Recompress the specified files. If the -1, -2, -3, -4 options are specified it's used the smallest file choice from the previous
compressed data and the new compression. If the -0 option is specified the file is always rewritten without any compression.
-0, --shrink-store
Disable the compression. The file is only stored and not compressed. The file is always rewritten also if it's bigger.
-1, --shrink-fast
Set the compression level to "fast".
-2, --shrink-normal
Set the compression level to "normal". This is the default level of compression.
-3, --shrink-extra
Set the compression level to "extra".
-4, --shrink-insane
Set the compression level to "insane". It's VERY SLOW.
-f, --force
Force the use of the new file also if it's bigger.
LIMITATIONS
The advdef program cannot be used to recompress huge files because it needs to allocate memory for both the complete compressed and uncom-
pressed data.
COPYRIGHT
This file is Copyright (C) 2003, 2004 Andrea Mazzoleni
SEE ALSO
advpng(1), advmng(1), advzip(1), gzip(1), bzip2(1)
AdvanceCOMP Deflate Compression Utility(1)