Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

chmod calculator script

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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 Unix and Linux 10-23-2012
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 21 October 2017, 8:21 AM EDT
Location: NM
Posts: 11,215
Thanks: 567
Thanked 1,110 Times in 1,024 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 10:04 AM
Problem with calculator script zkapopou Homework & Coursework Questions 17 12-09-2010 01:21 PM
What is the difference between chmod in solaris and chmod in Linux? sumaiya UNIX and Linux Applications 1 08-12-2010 08:38 AM
sudo chmod not working through script sdosanjh Shell Programming and Scripting 2 07-29-2010 01:38 AM
Script to CHMOD using FTP sdlayeeq Shell Programming and Scripting 1 04-20-2005 10:53 AM

All times are GMT -4. The time now is 10:13 AM.