Sponsored Content
Top Forums Shell Programming and Scripting Changing file permissions of a file created by another user Post 302753669 by qwertyu on Wednesday 9th of January 2013 07:22:51 AM
Old 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

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

Changing permissions of a user

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

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. 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

7. 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

8. 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

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... (5 Replies)
Discussion started by: anix007
5 Replies

10. UNIX for Dummies Questions & Answers

Creating a File system with required permissions for all DIR's created in

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
PPPSTATS(8)						      System Manager's Manual						       PPPSTATS(8)

NAME
pppstats - print PPP statistics SYNOPSIS
pppstats [ -a ] [ -v ] [ -r ] [ -z ] [ -c <count> ] [ -w <secs> ] [ interface ] DESCRIPTION
The pppstats utility reports PPP-related statistics at regular intervals for the specified PPP interface. If the interface is unspecified, it will default to ppp0. The display is split horizontally into input and output sections containing columns of statistics describing the properties and volume of packets received and transmitted by the interface. The options are as follows: -a Display absolute values rather than deltas. With this option, all reports show statistics for the time since the link was initi- ated. Without this option, the second and subsequent reports show statistics for the time since the last report. -c count Repeat the display count times. If this option is not specified, the default repeat count is 1 if the -w option is not specified, otherwise infinity. -r Display additional statistics summarizing the compression ratio achieved by the packet compression algorithm in use. -v Display additional statistics relating to the performance of the Van Jacobson TCP header compression algorithm. -w wait Pause wait seconds between each display. If this option is not specified, the default interval is 5 seconds. -z Instead of the standard display, show statistics indicating the performance of the packet compression algorithm in use. The following fields are printed on the input side when the -z option is not used: IN The total number of bytes received by this interface. PACK The total number of packets received by this interface. VJCOMP The number of header-compressed TCP packets received by this interface. VJUNC The number of header-uncompressed TCP packets received by this interface. Not reported when the -r option is specified. VJERR The number of corrupted or bogus header-compressed TCP packets received by this interface. Not reported when the -r option is spec- ified. VJTOSS The number of VJ header-compressed TCP packets dropped on reception by this interface because of preceding errors. Only reported when the -v option is specified. NON-VJ The total number of non-TCP packets received by this interface. Only reported when the -v option is specified. RATIO The compression ratio achieved for received packets by the packet compression scheme in use, defined as the uncompressed size divided by the compressed size. Only reported when the -r option is specified. UBYTE The total number of bytes received, after decompression of compressed packets. Only reported when the -r option is specified. The following fields are printed on the output side: OUT The total number of bytes transmitted from this interface. PACK The total number of packets transmitted from this interface. VJCOMP The number of TCP packets transmitted from this interface with VJ-compressed TCP headers. VJUNC The number of TCP packets transmitted from this interface with VJ-uncompressed TCP headers. Not reported when the -r option is specified. NON-VJ The total number of non-TCP packets transmitted from this interface. Not reported when the -r option is specified. VJSRCH The number of searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the -v option is spec- ified. VJMISS The number of failed searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the -v option is specified. RATIO The compression ratio achieved for transmitted packets by the packet compression scheme in use, defined as the size before compres- sion divided by the compressed size. Only reported when the -r option is specified. UBYTE The total number of bytes to be transmitted, before packet compression is applied. Only reported when the -r option is specified. When the -z option is specified, instead displays the following fields, relating to the packet compression algorithm currently in use. If packet compression is not in use, these fields will all display zeroes. The fields displayed on the input side are: COMPRESSED BYTE The number of bytes of compressed packets received. COMPRESSED PACK The number of compressed packets received. INCOMPRESSIBLE BYTE The number of bytes of incompressible packets (that is, those which were transmitted in uncompressed form) received. INCOMPRESSIBLE PACK The number of incompressible packets received. COMP RATIO The recent compression ratio for incoming packets, defined as the uncompressed size divided by the compressed size (including both compressible and incompressible packets). The fields displayed on the output side are: COMPRESSED BYTE The number of bytes of compressed packets transmitted. COMPRESSED PACK The number of compressed packets transmitted. INCOMPRESSIBLE BYTE The number of bytes of incompressible packets transmitted (that is, those which were transmitted in uncompressed form). INCOMPRESSIBLE PACK The number of incompressible packets transmitted. COMP RATIO The recent compression ratio for outgoing packets. SEE ALSO
pppd(8) 26 June 1995 PPPSTATS(8)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy