chmod calculator script | Unix Linux Forums | Shell Programming and Scripting

  Go Back    

Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

chmod calculator script

Shell Programming and Scripting

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 10-23-2012
hookitup hookitup is offline
Registered User
Join Date: Oct 2012
Last Activity: 26 November 2012, 2:14 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
chmod calculator script

so just spit ballin here,

i was wondering if anybody knew how to make a chmod calculator script.

basically go to this website
HTML Code:
i would like something like this that i can use in a terminal tho. so like i run the scrip and it ask for owner what permission , for group what permission, and for other what permission.

and it sums it up and give me the proper number to place when chmoding a file or directory.

this is so i can easly teach other ppl on what permission the file will need and what number is associated with that permission.

or something like that, i recall seeing this somewhere but i dont remember, does anybody know how to make this or know where to find this?
Sponsored Links
Old 10-24-2012
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 2 March 2015, 1:14 PM EST
Location: NM
Posts: 10,390
Thanks: 322
Thanked 847 Times in 786 Posts
File permissions 101:

I do not know of anyplace to get a script like the one you want. You will have to look at some webpages then get an idea how to roll your own.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can root user run chmod 000 permission shell script? royalibrahim Shell Programming and Scripting 1 05-20-2011 11:04 AM
Problem with calculator script zkapopou Homework & Coursework Questions 17 12-09-2010 02:21 PM
What is the difference between chmod in solaris and chmod in Linux? sumaiya UNIX and Linux Applications 1 08-12-2010 09:38 AM
sudo chmod not working through script sdosanjh Shell Programming and Scripting 2 07-29-2010 02:38 AM
Script to CHMOD using FTP sdlayeeq Shell Programming and Scripting 1 04-20-2005 11:53 AM

All times are GMT -4. The time now is 07:07 PM.