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 02-22-2001, 06:59 PM   #1
BC
LQ Newbie
 
Registered: Feb 2001
Posts: 12

Rep: Reputation: 0

Why if I am the "root" user I get no access rights, and don't have permissions on some things?

Why do my cdrom and floppy have locks on them in the root/mnt/ folder?

These may seem like stupid questions, but I am really trying to learn this OS. It seems like it would be a very powerful tool if only I can get it at a working condition.

Thank you,
BC
 
Old 02-23-2001, 07:14 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Root should be like superman in our world. Nothing should be blocked or not accessed from root. If root can't get in, who can? If root on your machine cannot access or do certian things, there is something definitly wrong with yoru setup.
 
Old 02-24-2001, 09:22 PM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Red face

BC,

I wouldn't mkfs and reinstall everying on your system just yet. The root user may appear to be denied access to some things due to either permissions or kernel activity. ex. If you try to execte a file that is not executable, you will get a permission denied error, even as root. Also if you try to unmount a used filesystem you will also get errors. Post some examples of what you are trying to do and someone will explain why you are getting the errors.

As for the locks... Both the floppy and cdrom may be mounted. Type looking at /proc/mounts and see what file systems are mounted. unmount the file system and see if the locks persist.

Gary

 
Old 02-25-2001, 02:18 PM   #4
BC
LQ Newbie
 
Registered: Feb 2001
Posts: 12

Original Poster
Rep: Reputation: 0
I found out that my cdrom and floppy mount on boot up. When I umount them the locks do disappear, when they are mounted, the locks show up and when I click on the I get "can't enter /mnt/cdrom you do not have access rights" or something to that effect. I change the settings to have the cdrom not mount at bootup to see if that would make a difference, but alias it does nothing different.

I hope someone knows what this means, and how it can be fixed.

I have reinstalled Linux about four times already, and these are the settings before I even do anything on the system.

Thanks for any help,
BC
 
Old 02-25-2001, 03:43 PM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Question

In your last reply you mentioned the word 'click'. Are you trying to access the filesystems in an X GUI? Try going to a command shell and cd to /mnt/cdrom both before the cd is mounted and after the cd is mounted. What are the permissions on the mount point?

Post your fstab and mtab files with the cd mounted, and post an ls -la in the /mnt directory. That will give us a few more details.

Gary
 
Old 11-18-2015, 05:23 AM   #6
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
If you set 0000 permissions also, then also root can access the file or directory since root need to administrate everything.
 
1 members found this post helpful.
Old 11-18-2015, 10:27 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by Harshit_24 View Post
If you set 0000 permissions also, then also root can access the file or directory since root need to administrate everything.
PLEASE STOP posting in old threads...this was closed for FOURTEEN YEARS. And your post doesn't address the original issue.
 
  


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
Access rights Noido Linux - Newbie 5 06-13-2005 04:36 PM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
Samba Access Rights esasse Linux - Newbie 6 12-22-2004 06:45 AM
Access rights sore Linux - Newbie 6 01-02-2003 10:31 AM
access rights popcorn5714 Linux - Newbie 3 02-02-2002 01:26 AM

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

All times are GMT -5. The time now is 08:21 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
Open Source Consulting | Domain Registration