LinuxQuestions.org
Help answer threads with 0 replies.
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 05-11-2003, 03:40 PM   #31
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15

So to move a file under su you type: mv folder1 /usr/local/folder1 ?
 
Old 05-11-2003, 03:42 PM   #32
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
Quote:
Originally posted by Ekim Gram
So to move a file under su you type: mv folder1 /usr/local/folder1 ?
exactly
 
Old 05-11-2003, 03:43 PM   #33
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Ok, thanks so much for the help. Haha, be ready for some more questions. I just switched to Linux last week under Mandrake and I wanna get the most out of it as I can.
 
Old 05-11-2003, 04:52 PM   #34
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
cool man... good luck.
 
Old 05-11-2003, 10:39 PM   #35
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
ONLY ONE GROUP CAN HAVE ALL PERMISSIONS TO DIRECTORY
WHEN ROOT OWNS IT ALL U CAN DO IS PUT UR USERNAME TO THE GROUP ROOT
 
Old 05-12-2003, 06:53 AM   #36
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
well, that's pretty risky too... cause then, you'll be just like root, defeating the whole purpose. I think it's best to just be a regular user, and when you need special powers (lol), su into root...
 
Old 05-12-2003, 07:04 AM   #37
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally posted by bluenirve
well, that's pretty risky too... cause then, you'll be just like root, defeating the whole purpose. I think it's best to just be a regular user, and when you need special powers (lol), su into root...
we'll get through one day!
 
Old 05-12-2003, 07:06 AM   #38
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
yeah... when I ran redhat 5 a while back, I did that, thinking ti was cool, and I could do anything, but somehow, I thought it was safe ... it's not
 
Old 05-12-2003, 01:36 PM   #39
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
u should try smbadduser masand:gaurav
where masand is ur username and gaurav is the group
then it will add up the user and then ad the passwd by "smbpasswd username"
i hope this wll solve ur problem
 
Old 05-12-2003, 01:38 PM   #40
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Rep: Reputation: 15
Not to beat a dead horse, but the problem that's at the root (no pun intended ) of this thread is that he wasn't able to delete something from his home directory i.e. /home/michael because /home is owned by root. This is confusing to me.

I'm not at my linux box now, but I'm pretty sure the /home directory is owned by root, yet I've never had any problem deleting things from my own home directory i.e. /home/cpv204 without signing in as root or using su.

What gives? A user should have permissions in his own home directory, right?

Last edited by cpv204; 05-12-2003 at 01:39 PM.
 
Old 05-12-2003, 01:44 PM   #41
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
yes, he does, i'm pretty sure that's not what he meant, i think he wanted to delete somethign in /home itself, not ~ itself
 
Old 05-12-2003, 02:14 PM   #42
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Rep: Reputation: 15
Thanks. Just needed a sanity check.
 
Old 05-12-2003, 04:23 PM   #43
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
yeah... I'm not in linux either, so please correct me if I'm wrong, but if he's trying to delete some user's complete directory (/home/user), and he isn't that user, he needs root...
 
  


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
Permission problems britishnemesis Linux - Software 4 02-19-2005 02:45 PM
Permission Problems Wynand1 Linux - Security 1 01-28-2005 06:33 AM
HD permission problems Sarrin Linux - Software 1 05-13-2004 10:16 PM
sm permission problems Jestrik Linux - Networking 0 03-27-2004 08:00 AM
Problems with Permission mordin Linux - Newbie 4 10-23-2003 02:45 PM


All times are GMT -5. The time now is 12:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration