LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-26-2012, 07:48 PM   #1
CarltonH_
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
New Questions


I'm a college student right now learning Linux. Everyday I'm getting more and more comfortable with it. Right now we're just learning commands. But I have 2 questions:

1. If I get a Linux+ Cert what kind of jobs can I get? I never thought I'd want to get a Linux job but after talking to my teacher I changed my mind lol.

2. Just getting some practice in and I was wondering what I am doing wrong in this senario:

I already have a user account created called Carlton. I create a new user account called Wanda. I create a new group called Marketing. I log into Carlton and create a file called File1. The UMASK is set to 002 so it comes out like:

-rw-rw-r-- Carlton Carlton 0 Jul 26 1800 File1

I put Wanda in the Marketing group

usermod -G Marketing Wanda

I also change the primary group from Carlton to Marketing

chgrp Marketing File1

So now it comes out:

-rw-rw-r-- Carlton Marketing 0 Jul 26 1800 File1

Now when I log in under Wanda I still cannot write to the file even though she is part of the Marketing Group and the Group permissions is read/write. What is causing me not to be able to write to the file?
 
Old 07-26-2012, 08:22 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,425

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
1. could be down to the file location; need to be able to get into the dir
2. try the 'id' cmd on Wanda ie login as Wanda & run 'id' to check groups.

Re jobs: you'd prob start as a junior admin, unless you want to be something else eg DBA, programmer etc

Last edited by chrism01; 07-26-2012 at 08:29 PM.
 
Old 07-26-2012, 09:46 PM   #3
CarltonH_
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yep that solved it. Problem was the directory that the file was in I didn't have the permissions needed to go to the directory. So even though I had permissions to write to the file I didnb't have permission to go to the directory. Kinda like I have permission to drive my car but I can't get in the car. If I cant get in then I can't drive. Same thing in this case with the files. But I appreciate that my teacher will be impressed once i tell him

Last edited by CarltonH_; 07-26-2012 at 09:58 PM.
 
Old 07-26-2012, 10:24 PM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Arch
Posts: 10,031

Rep: Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202Reputation: 3202
Please remember to mark questions as SOLVED once you have a solution.
 
Old 07-27-2012, 01:11 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,425

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
No worries; you learn something everyday in this profession
 
  


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
New Linux user with a few questions - Networking and Drivers questions Techsniffer Linux - Newbie 9 04-04-2012 01:21 PM
Make questions and ARCH questions for gentoo/calculate linus72 Calculate 5 04-09-2010 01:53 AM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
LXer: Questions Answered, Questions Posed - What Happened? LXer Syndicated Linux News 0 05-14-2007 03:46 PM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration