LinuxQuestions.org
Visit Jeremy's Blog.
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-08-2007, 05:48 PM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
user privileges on mandriva spring


Hi again, just thought that it was time for me to branch out from linux newbie's. I still feel that there is a lot to learn, but posting in the right place seemed the right thing to do.

Trying all distros - at the moment I thought I'd give mandriva a look. I have an extra hard drive and a maxtor one touch hooked up to the computer. I have sorted out the problem of user access in regard to mounting and unmounting the above hard drives, but I still can't create folders on the drives or copy stuff to them either as user?!!

I have looked at configure your computer and mount points - but can't see how to get read and write privileges? There is no point if I can't use my own computer - if you know what I mean.

Is there any one that can enlighten me a little on this matter.

bookie
 
Old 07-08-2007, 05:59 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
To mount a drive you will need to be root. Another way to do it is to give user sudo privileges. A user can run a command as root using users password. You need to edit the sudoers file for that.

As far as access to files and folders make sure user has access privileges to it. Look at
Code:
man chmod
If you want to change ownership of the file look at
Code:
man chown
If it is a smb or nfs share then users will have to have permission to it.

You can also open a file mgr as root and change permissions on a file or directory.
 
Old 07-09-2007, 01:10 AM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Quote:
I have sorted out the problem of user access in regard to mounting and unmounting the above hard drives, but I still can't create folders on the drives or copy stuff to them either as user?!!
Are you trying to write to an ntfs file system? If you are, you should install the ntfs-3g package using the package manager which will ask to install any other required packages. To make set up easier, install ntfs-config. After these packages are installed run the NTFS Configuration Tool (System > Configuration > Hardware > NTFS Configuration Tool in the menu system)

Other than writing to a directory in your Windows ntfs file system, if you are trying to write to any directory in the Linux file system, you have to have the authority to do so. Regular users usually have authority to write to their home directory and its sub-directories, but no where else.

HTH,
 
Old 07-09-2007, 05:38 AM   #4
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi ernie

I already understand that as user one usually only has read write access to home folder. But - this is my own computer and I don't want to sit and work from a terminal - logged in as root to create and send folders to the extra hard drives. While using the terminal has its obvious advantages - it is a bit tedious to do basic commands from a terminal.

I have created root. I am root even if I do, as everyone says, and try and work as user. One cannot log in as root with mandriva and certain other distros because of the security aspect of things.

I am not working with windows ntfs or anything like that. I just want read and write privileges for my own computer otherwise there isn't a lot of point in working with linux?!!!

Sorry, frustration getting the better of me at the moment. Obviously I wouldn't allow every user on the computer the same read/write privileges - for basic security reasons, and the fact that it is easy to break the distro.

There isn't any point in being able to mount the drives, open and use the info on the drives, if I can't add info??

bookie
 
Old 07-09-2007, 10:45 AM   #5
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
I assume that you've mounted the drive as read/write.

If you're using KDE:

Select the Run command in the mdv menu

Enter kdesu konqueror

From the Settings menu select the File Management profile

Right-click on the folder where you mounted the drive

Select Properties and then Permissions

Make yourself the owner

Set what you want other users to be able to do

Check the box to apply to subfolders and contents

I assume the equivalent can be done in Gnome, somehow, but I don't use Gnome.

Jim

Last edited by jkerr82508; 07-09-2007 at 10:57 AM.
 
Old 07-09-2007, 01:30 PM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi jkerr82508

Thanks for the info - consider yourself on my Christmas list.
I now have privileges as I want them - YES!!!
What's the weather like down in your part of the world? Ages since I was in Scotland - beautiful country!!

Thanks again.
bookie

PS Look to Sweden and around about the middle by the coast. There you will find the town I live in Sundsvall.

Last edited by bookie; 07-09-2007 at 01:33 PM.
 
Old 07-18-2007, 12:59 PM   #7
nYdGeo
LQ Newbie
 
Registered: Jul 2007
Location: Metairie, LA
Distribution: Mandriva, Kubuntu, SUSE
Posts: 4

Rep: Reputation: 0
more on the same

Quote:
Originally Posted by jkerr82508
I assume that you've mounted the drive as read/write.

If you're using KDE:

Select the Run command in the mdv menu

Enter kdesu konqueror

From the Settings menu select the File Management profile

Right-click on the folder where you mounted the drive

Select Properties and then Permissions

Make yourself the owner

Set what you want other users to be able to do

Check the box to apply to subfolders and contents

I assume the equivalent can be done in Gnome, somehow, but I don't use Gnome.

Jim
I tried to do this, but when I did I get messages telling me that I do not have sufficient permission to change the properties for one or two select files on my NTFS volume. I don't understand what the deal is. I don't have this problem in Kubuntu, but through 3 or 4 versions of Mandriva I am unable to get write ability on my NTFS volumes except as root.

I even downloaded the same "ntfs-config" that Kubuntu uses, as it is available from Mandriva, but it won't launch; I get the message, "The gksu-run-helper command was not found or is not executable." This though I have every conceivable gksu file installed. I can launch gksu manually, and enter the command (ntfs-config, which is what the normal launch command for the ntfs config utility), with the same results.

Any ideas, info or suggestions are most welcome. Thanks inadvance!
 
Old 07-19-2007, 11:43 AM   #8
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Are ntfs-3g and all dependencies installed? If not install them using the package manager or urpmi. When I had WinXP on the HD (not in a VM) here for a time, I installed them, then ran the ntfs configuration tool to set up write capability on Linux here. All went well ...
 
Old 07-20-2007, 03:20 PM   #9
nYdGeo
LQ Newbie
 
Registered: Jul 2007
Location: Metairie, LA
Distribution: Mandriva, Kubuntu, SUSE
Posts: 4

Rep: Reputation: 0
Though I have been working with Desktop Linux for quite some time, I am hardly an experienced, knowledgeable Linux user; there is so much that I don't know. I never could get the solution posted by jkerr82508 to work. However, the problem that I was having with ntfs-config was caused by the simplest of noob problems. This is so embarrassing, but I was not logged in as root...thank you, thank you very much for that applause! Once I realized this, I immediately had user-level write access to the internal NTFS volume. I still have only read-access to the external, but I can live with that.

Thanks for taking the time to offer assistance!
 
Old 07-21-2007, 12:02 PM   #10
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Hi nYdGeo, we all make the mistake of not logging in as root at times. I am glad that you sorted out the problem.


Bookie
 
  


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
wlan help on mandriva 2007 spring wakkaX3 Linux - Wireless Networking 2 07-01-2007 05:02 PM
Mandriva Spring on dv9000t srikar_gottipati Mandriva 4 05-22-2007 10:25 AM
LXer: The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) LXer Syndicated Linux News 0 05-10-2007 02:01 PM
LXer: Mandriva releases Mandriva Linux 2007 Spring LXer Syndicated Linux News 0 04-18-2007 11:16 PM
LXer: Mandriva Linux 2007 Spring: Here Comes The Spring LXer Syndicated Linux News 0 03-24-2007 05:31 PM

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

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