LinuxQuestions.org
Review your favorite Linux distribution.
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 09-14-2003, 06:36 PM   #1
cabrone
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
A Few Basic Linux Questions...


I'm new to linux, running mandrake 9.1 with KDE (dont know if that helps)I have a few questions though...

1. Is there anyway to give my user name permissions of the root username, or do i always have to log on as root to run commands?

3. Can i edit what is in the start applications menu, like at the top theres a recently accessed programs section which i dont want.

4. When i try to delete files from my swap drive, it says access denied... why is that? they arent windows system folders or files they are jpgs that i dont want on there.... normally they are hidden in windows but on linux they show...

I know its alot of questions but hopefully you guys can answer some...

thanks

Last edited by cabrone; 09-14-2003 at 06:37 PM.
 
Old 09-14-2003, 06:47 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
1: never, never logon as root in graphical mode!; to install things required to be run as root, either use the super-user mode file manager (which i don't recommend either, but it is better than flatout logging in as root; or better yet, go into konsole, type su - followed by the root password and u should be set (yes u will have to type in commands to get things to install once u are in superuser in konsole

2(you called it 3): there is a menu editting program in the mandrake control center, go there and u should be able to take out the recently used programs menu

3(called 4): swap should be cleaned each time u reboot, if not, u can either reformat it or do a superuser command, setting permissions to those files in the swap drive, and delete them
 
Old 09-14-2003, 07:05 PM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
1) in a well designed system you should rarely need to become root. if you absolutely must be root then su in a console.

4) by swap drive do you mean your windows drive? if yes then there could be two causes either it is ntfs or a permissions problem.
 
Old 09-14-2003, 07:08 PM   #4
cabrone
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
it isnt ntfs its a fat32 drive, and here is what is happening... i have my music folder in there, and part of windows downloads album art for wmp, well its hidden in windows but in linux it shows and there are so many of them, 1 for each mp3, its annoying so i just want to delete them...
 
Old 09-14-2003, 07:57 PM   #5
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
how is it being mounted? assuming your distro set it up for you then there will be an entry in your /etc/fstab that looks something like:

/dev/windows_partition /mnt/windows vfat defaults,rw 0 0

you are interested in the fourth field it will have some options in it, probably not the ones ive put as i just guessed but anyway you want to add the option umask=000. this will allow every user on your system to read, write and execute things in this partition. i would personally make a group who have write access but thats a bit more difficult to set up. you will need to reboot or remount the filesystem whichever you prefer before the changes take effect.
 
Old 09-15-2003, 12:54 AM   #6
cabrone
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
this is what it says in fstab:

/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
 
Old 09-15-2003, 03:54 AM   #7
cabrone
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
any ideas?
 
Old 09-15-2003, 07:19 AM   #8
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
umm none off the top of my head as ive just created myself a vfat filesystem, mounted it with umask=0 and all my users can read/write to it. what are the permissions of the file your trying to delete and the directory its in? also can root delete the file?
 
  


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 to linux, Basic questions sider69 Linux - Newbie 6 09-26-2005 03:06 AM
Some basic Questions in Linux sdudi76 Linux - General 3 08-09-2005 01:49 PM
Basic questions on LinuX lionelx Linux - Newbie 3 09-27-2004 11:52 AM
Basic Linux Questions karlan Linux - Newbie 13 08-09-2003 06:05 PM
Basic linux questions karlan Linux From Scratch 0 08-08-2003 07:12 PM

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

All times are GMT -5. The time now is 04:37 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