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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-12-2008, 02:23 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Rep:
|
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
|
|
|
|
12-12-2008, 02:26 AM
|
#2
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Rep: 
|
What don't you understand?
|
|
|
|
12-12-2008, 02:39 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
|
12-12-2008, 03:30 AM
|
#4
|
|
Senior Member
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Rep:
|
Quote:
Originally Posted by diddyp20
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.
|
|
|
|
12-12-2008, 03:34 AM
|
#5
|
|
Member
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® 14.0
Posts: 976
Rep:
|
Homework?
|
|
|
|
12-12-2008, 10:21 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
it is not a homework! Im a newbie on linux and i like it but this one is very confusing!
|
|
|
|
12-13-2008, 09:16 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by ErV
|
how? I dont understand! any clue?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:41 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|