LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-24-2011, 02:54 AM   #1
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 58

Rep: Reputation: 15
Access rights on Windows partition


I want to use one of the Windows drives for always legitimated access under Ubuntu. How can I make this happen? Thank you!
 
Old 01-24-2011, 04:12 AM   #2
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Rep: Reputation: 26
My Windows partition is configured as /windows during install. It is in fstab now. And I always get it in full access mode.
Maybe it is worth checking fstab for your access rights?
 
Old 01-24-2011, 04:18 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Do you dual boot and want to use a partition formated with the NTFS or FAT32 filesystem when using Ubuntu, or do you want to use a windows share on the network.

I don't understand what you mean by "legitimated".
 
Old 01-24-2011, 04:35 AM   #4
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 58

Original Poster
Rep: Reputation: 15
Sorry for my bad Linux knowledge, but I tend to forget what I already knew!
No it is as follows: I have a dual-boot computer, or even multi-boot, and I can see my entire Windows partitions and drives in Ubuntu file manager but when I want to access them I first need to type in my user password for legitimation. So, I want to avoid that step, that's all.

I'll have a look at fstab, let's hope I will find it ..
 
Old 01-24-2011, 06:41 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think the need for authentication is due to policy kit settings. Normally, only root is allowed to mount a filesystem.
You would need to use sudo to do so manually in the console.

One option is to include the filesystem in /etc/fstab so it is mounted when you boot. This is fine for fixed drives. Not for removable drives.

Here is an /etc/fstab entry for a windows partition:
Code:
/dev/disk/by-id/ata-TOSHIBA_MK2049GSY_48CYT01OT-part4 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
You can use the device node or UUID in the first field (e.g. /dev/sda2 or UUID=145266D35266B95E)

Look at the `mount' and 'mount.ntfs' manpages. Some important options are uid, gid, fmask and dmask. You can use your username in place of your UID. The fmask and umask options determine the permissions of all files and all directories respectively. Your locale will probably be different.

Using the "user" or "users" option in combination with "uid=" will allow you to mount this filesystem as a normal user. this is because the mount command is "suid" root. It checks for the user or users options when it reads the fstab entry.
---

Another option is to use the polkit permission editor and change the options for org.freedesktop.hal.storage.mount-fixed.
 
  


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
~~Adding COMPLETE rights to a Windows partition~~ Looper55 Debian 10 08-31-2006 12:37 AM
File Access Rights/Windows pdr Linux - Newbie 2 06-16-2005 01:00 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
Access to windows partition? DeadlySin3 Linux - Newbie 2 05-05-2003 10:46 AM

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

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