Cant open folder on a windows partition

Bug #29393 reported by Martin Willemoes Hansen
12
Affects Status Importance Assigned to Milestone
partman-basicfilesystems (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Ubuntu Dapper 3, HP NC4200

When trying to open the folder / of a windows ntfs partition I get an error msg. I need to be root to be able to open the folder.
But nautilus does not ask me for a root password, when Im trying to open the folder.

So, the bug is that nautilus do not ask for a passwd, it just gives an err. msg.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. That's not a bug with nautilus but with how your partition is configured mounted. How is it defined to /etc/fstab and how do you mount it?

Changed in nautilus:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

It has a default configuration, from a brand new install of flight 3.

/dev/hda1 /media/hda1 ntfs defaults 0 0

It is mounted by default

Revision history for this message
Dane Mutters (dmutters) wrote :

(I don't have an ubuntu system in front of me, but this should work...maybe.)

Try commenting out (putting a # in front of) the line in the fstab and using this method to recreate a new and better(?) one:

1) Make sure that the user has permission to access to the disk (ie. is in the "disk" group or similar). Use the user management tool in Gnome to do this.

2) Find out which group is most appropriate to use: type "groups" in the console as the user you want to have access to the drive and make note of the most appropriate-sounding group.

3) Edit /etc/fstab and enter the following line:

/dev/hda1 /media/hda1 ntfs defaults,gid=<groupname>,group,umask=227 0 0

...and replace <groupname> with the name of the group you picked.

Please post your results.

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Tried with adding my user to the group "disk", and adding a new line in fstab with the group admin, then unmounted and mounted the partition, but it did not work :(

Revision history for this message
Sebastien Bacher (seb128) wrote :

did you change your fstab according to the previous comment?

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Yes.

Revision history for this message
Daniel Holbach (dholbach) wrote :

What does mount say? How does your /etc/fstab look like now? What does ls /dev/{s,h}d* say?

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Tried in Dapper Flight 4 and it works there, I have attached my /etc/fstab and ls /dev/{s,h}d* say:

ls: /dev/sd*: No such file or directory
/dev/hda /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 /dev/hda5 /dev/hda6

Revision history for this message
Martin Willemoes Hansen (mwh) wrote : /etc/fstab

/etc/fstab

Revision history for this message
Matt Walker (matt-j-walker) wrote :

I'm having the same problem (in Flight 5). I can't open any of my ntfs partitions unless I'm root. The problem seems to be with the permissions that are set on the mount points. My fat32 partition mount point is set at "drwxr-xr-x" while my ntfs partitions are set at "dr-x------". If I make any changes to the permissions, as soon as I remount the partition the directory is reset back to "dr-x------", and of course root is the owner of that directory.

Revision history for this message
Sebastien Bacher (seb128) wrote :

can you browse it from a command line?

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

No, I can't browse it from the command line.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the comments, that points the bug is not nautilus specific and rather a duplicate of bug #25071

Changed in nautilus:
assignee: desktop-bugs → nobody
status: Needs Info → Confirmed
Revision history for this message
Matthew East (mdke) wrote :

The duplicate of this bug is marked as fixed, so this should be fixed now. please reopen the bug if you still see the problem.

Changed in partman-basicfilesystems:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.