Sponsored Content
Homework and Emergencies Homework & Coursework Questions changing permissions of a file whos name was passed to 755 Post 302398853 by methyl on Thursday 25th of February 2010 07:48:29 PM
Old 02-25-2010
Good luck anix007 and welcome to our world.
 

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
TURNIN(1)						      General Commands Manual							 TURNIN(1)

NAME
turnin - submit assignments to be graded SYNOPSYS
turnin [ OPTIONS ] -c [ course-name ] files DESCRIPTION
Submits assignments to be graded. We submit to the default project if it is not specified as an option. REQUIRED ARGUMENTS
-c, --course Sets the course to which we'll submit our assignments. files A list of files we wish to submit. They will be compressed using tar(1) and gzip(1) formats before being copied to the submission directory. OPTIONS
--version Print turnin's version -h, --help Print a help message -l, --list Prints a list of projects, along with whether or not they are enabled and shows which project is the default project. -p, --project Sets the project to which we'll submit our assignments. -C, --config Path to an alternate configuration file -v, --verbose Prints a list of submitted files once they have been submitted. -k, --keyid Cryptographically signs an assignment using gpg(1) -w, --legal Print warranty and license information. EXAMPLES
turnin -c world-cheeses --list List the projects in the course world-cheeses. turnin -c world-cheeses stilton-recipe Submit the file stilton-recipe to the default project in the course world-cheeses. turnin -c world-cheeses -p stilton stilton-recipe Submit the file stilton-recipe to the project stilton in the course world-cheeses. FILES
/etc/turnin-ng.cf ~/.turnin-ng/submissions SEE ALSO
turnincfg(1) The full documentation for turnin is maintained as a Texinfo manual. If the info and turnin programs are properly installed at your site, the command info turnin-ng should give you access to the complete manual. AUTHOR
Turnin-NG and this manpage were written by Ryan Kavanagh <ryanakca@kubuntu.org> in the summer of 2009 and are still actively maintained. Turnin-NG is a replacement for the 'project' and 'turnin' commands written in 1990 for the SPARC architecture by an unknown author. Both Turnin-NG and this manpage are distributed under the terms of the GNU General Public License version 2, or (at your option) any later version. Turnin-NG SEPTEMBER 2010 TURNIN(1)
All times are GMT -4. The time now is 06:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy