LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-12-2008, 03:23 AM   #1
diddyp20
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
Flow Chart


Hi everyone,
I m writing a script and I have a difficulty to interpret a part of it! can someone help me with the flow chart to understand how I shall do that part?
here is what I want to solve:

Display a listing of the user’s directory and allow permission changes. Prompt the user to change filer permissions (y/n). If yes, prompt the user for the file name. Display the file’s permission. Ask the user to enter the add or remove the following permission: read the user, write user, execute user, read group, write group, execute group, read other, write other and execute other. After file permissions have been changed, display the file’s new permissions.


I am using the bourne shell!

thanks y'all
 
Old 12-12-2008, 03:26 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What don't you understand?
 
Old 12-12-2008, 03:39 AM   #3
diddyp20
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I dont understand the whole process!
according to me if the user chooses a file, he will have a lot of option like
1-modify the user permission
2-modify the group permission
3-modify the "other" permission
4- modify all
5-modify user+group
6-modify user+other
7-modify group+other
then if he chooses 1:
1-add X
2...
3...
itt will be so long!
is there a way to combine it easily?
 
Old 12-12-2008, 04:30 AM   #4
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by diddyp20 View Post
I dont understand the whole process!
according to me if the user chooses a file, he will have a lot of option like
1-modify the user permission
2-modify the group permission
3-modify the "other" permission
4- modify all
5-modify user+group
6-modify user+other
7-modify group+other
then if he chooses 1:
1-add X
2...
3...
itt will be so long!
is there a way to combine it easily?
This and this should explain it.
 
Old 12-12-2008, 04:34 AM   #5
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® 14.0
Posts: 981

Rep: Reputation: 88
Homework?
 
Old 12-12-2008, 11:21 AM   #6
diddyp20
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
it is not a homework! Im a newbie on linux and i like it but this one is very confusing!
 
Old 12-13-2008, 10:16 AM   #7
diddyp20
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ErV View Post
This and this should explain it.
how? I dont understand! any clue?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source flow chart creation gauntalus Linux - Software 5 11-13-2012 12:32 AM
Is there a linux bootup flow chart available anyplace? Tectron1 Linux - Newbie 9 03-11-2006 04:53 PM
Source Code to Flow Chart Converter leibinitz Linux - Software 0 06-21-2005 03:20 AM
flow chart sw allelopath Linux - General 1 04-06-2004 07:02 AM
C 2 Structure/Flow Chart generator Misel Linux - Software 0 12-18-2003 02:49 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration