LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-29-2005, 12:44 AM   #1
f1dreamer
LQ Newbie
 
Registered: Dec 2004
Location: South Africa
Posts: 12

Rep: Reputation: 0
Mandrake 10.1 - Mountings


Hi all,

I am quite new to Linux still, and have weird problems (different - not related issues) :

1-
I have Mandrake 10.1 installed and it actually mounts all other partitions when it boots up; including my Flash Memory Stick. If I do a "ls -la" and look at my Memory Stick ("/mnt/removable") for instance, I can see that it mounted it as read/write for "user/group/other". Now my problem is that; if I switch to root, then umount /mnt/removable, and then mount it with : mount -t vfat -o rw /dev/sda1 /mnt/removable, it mounts it as rwxr--r-- and even if I try and chmod 777 removable on that folder, or chmod o+wx removable and chmod g+wx removable; it stays as rwxr--r--. Why does this happen ?

2-
If I just logged into Mandrake 10.1 and go to a terminal and cd /mnt/removable and then do a "ls", there is nothing, but if I open the "shortcut to removable" icon on the desktop, all my files are there, and if I THEN go into the terminal and do a "ls" on removable, then everything is there.

I really hope someone can help me out here.

Thanks

Pieter Jacobs
 
Old 03-30-2005, 06:20 PM   #2
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
1 - I think you can't change permissions because you are acessing a non-linux filesystem in which the permissions you see aren't reflected in the actual filesystem structure. Although you should be able to set it when you mount the partition with the umask flag of the mount command.

2 - Mandrake uses supermount so when it detects you are trying to use a unmounted mount point it trys to mount it. However it doesn't detect your shell access to /mnt/removable
 
  


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
Mandrake 9.2b2: Unable to find / launch Mandrake Control Center blafield Mandriva 2 06-12-2009 03:38 AM
Mountings (150) NTFS partition. o3h Linux - Hardware 3 10-03-2005 12:45 PM
NFS and Samba Mountings zeshanzia Linux - Networking 1 03-11-2005 02:05 AM
dual booting fedora core 2 and mandrake: can't boot mandrake any more mgyamada Fedora 1 10-04-2004 07:39 AM
Uninstalled Mandrake, Installed Slackware, still getting mandrake boot screen powerismine Slackware 4 11-22-2002 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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