LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-18-2004, 06:37 PM   #1
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Rep: Reputation: 15
msec in MDK 10 makes me lose permissions mid-session


Hello,
I have MDK 10 running KDE on an Athlon 2500XPM system. My install is a week old. I have three partitions on my hard drive, one NTFS for Windows, one FAT32 for sharing files between Linux and Windows, and one Linux partition with MDK installed. The NTFS and FAT32 drives are located in

/mnt/win_c and
/mnt/win_d

respectively. At first, I noticed that as a non-root user I only had read privileges from these drives. That's fine for NTFS, but I wanted write access to FAT32. So, I went to Control Center > Permissions and added a rule:

/mnt/win_d
adm/adm
permissions:read,write,execute

My security level is "Standard" according to 'Level and Checks' and 'Permissions' tells me that my current security level is 2. Now, what happens is, when I log in, I can read/write to /mnt/win_d just fine, but then in the middle of my session I lose all privileges relating to this drive and I cannot even read it. My system log is full of messages like this:

Jul 16 22:01:01 localhost msec: changed mode of /mnt/win_d from 777
to 700
Jul 16 22:01:01 localhost msec: chown /mnt/win_d 3: [Errno 1] Operat
ion not permitted: '/mnt/win_d'
Jul 16 22:01:01 localhost msec: chgrp /mnt/win_d 4: [Errno 1] Operat
ion not permitted: '/mnt/win_d'

A nice fellow in the newbie forum told me that this is consistent with set_root_umask for msec 5, but msec is not set to that level. My /etc/fstab has this line:

/dev/hda5 /mnt/win_d vfat umask=022,iocharset=iso8859-1,codepage=850 0 0

does anybody know what is wrong with my msec?
Thanks!
 
Old 07-19-2004, 06:29 PM   #2
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Hi, it's me again. I was reading some documentation which explains how "Operation not permitted" is different from "permission denied." This webpage here says that an example of this is "changing the permissions on a fat32-filesystem using dma without the appropriate ide kernel module":

http://www.webservertalk.com/message293427.html

and this document here says that "whoever mounted the partition has ownership of those files":

http://www.linuxquestions.org/questi...002/04/3/18704

is it possible for me to mount this drive not as root but as a user instead? I think this is my problem.
 
Old 07-19-2004, 07:00 PM   #3
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
DISREGARD PREVIOUS POST, WRONG THREAD

Sorry, I meant to post that in the newbie forum, where a nice gentleman is helping me. Sorry!
 
  


Reply



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
SSH and msec level 4 - MDK 10.0 gabedude Mandriva 1 09-13-2005 08:18 AM
Lose permissions mid-session johngcarlsson Linux - Newbie 18 08-02-2004 07:23 PM
proftpd permissions msec strider17 Linux - Networking 1 02-09-2004 05:07 AM
x server refuses connections in mid-session mark9121 Linux - General 3 09-21-2003 09:30 PM
Switch groups in mid-session nxny Linux - General 4 10-23-2002 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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