NTFS - permission denied Topic is solved

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

NTFS - permission denied

Postby viking60 » 18 Mar 2010, 13:58

I am coming out of the closet here; I am dualbooting with Win7 but in Mandriva cooker I get permission denied when I try to enter my documents folder under windows.
Status:
Ntfs-3g
ntfs-config
ntfsprogs

are all installed.
And my ntfs-config is set to enable write for external and internal devices - this being an internal HD.

Here is the content of

Code: Select all

mount
ll -d /media/win

mount:
/dev/sda1 on /media/win type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) (Only the win partition)
and:
ll -d /media/win
d---r-xr-x 1 root root 32768 2010-03-13 20:10 /media/win/

Now this is weird, isn't it supposed to look like this?
drwxr-xr-x 1 root root 32768 2010-03-13 20:10 /media/win/
It looks like this:


I have tried:
chkdsk/f on the win partition
Remounting win on a different location.
I know there are some real pros among our members:
Any tips on this one?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 18 Mar 2010, 19:55

When was the last time a full defrag was run on the Win partition?

If it were me, I'd be filing a bug on cooker so fast it would make everyone's head spin, but let's wait for majorlinux.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: NTFS - permission denied

Postby viking60 » 18 Mar 2010, 23:21

Defrag made no difference :roll: I wonder if a copy of an WindowsXP dvd that I have placed on that partition could influence this (longshot)?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 19 Mar 2010, 00:45

Actually, possibly. Please post:

Code: Select all

cat /boot/grub/menu.lst

I've got a hankering for grub in this. Just a suspicion, but it's worth pursuing.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: NTFS - permission denied

Postby viking60 » 19 Mar 2010, 01:10

You forgot a slash there (I fixed it :) ) And you are just curios right? That has nothing to do with this IMHO. Anyway here it is:

Code: Select all

cat /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=4527c277-18a1-4032-b302-5cf065806805 splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=4527c277-18a1-4032-b302-5cf065806805
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=4527c277-18a1-4032-b302-5cf065806805 failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title desktop 2.6.31.12-1mnb
kernel (hd0,4)/boot/vmlinuz-2.6.31.12-desktop-1mnb BOOT_IMAGE=desktop_2.6.31.12-1mnb root=UUID=4527c277-18a1-4032-b302-5cf065806805 splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.31.12-desktop-1mnb.img

title desktop 2.6.31.12-1
kernel (hd0,4)/boot/vmlinuz-2.6.31.12-desktop-1mnb BOOT_IMAGE=desktop_2.6.31.12-1 root=UUID=4527c277-18a1-4032-b302-5cf065806805 splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.31.12-desktop-1mnb.img

title desktop 2.6.33-1
kernel (hd0,4)/boot/vmlinuz-2.6.33-desktop-1mnb BOOT_IMAGE=desktop_2.6.33-1 root=UUID=4527c277-18a1-4032-b302-5cf065806805 splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.33-desktop-1mnb.img

title desktop 2.6.33.1-1
kernel (hd0,4)/boot/vmlinuz-2.6.33.1-desktop-1mnb BOOT_IMAGE=desktop_2.6.33.1-1 root=UUID=4527c277-18a1-4032-b302-5cf065806805 splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.33.1-desktop-1mnb.img
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 19 Mar 2010, 01:15

I'm more curious as to where you say I forgot the slash; I'm seeing the exact same code in yours as I laid out.

title windows
root (hd0,0)
makeactive
chainloader +1

That's the Win7 partition?

And cat /etc/fstab reveals... ?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 19 Mar 2010, 01:18

viking60 wrote:I am coming out of the closet here; I am dualbooting with Win7 but in Mandriva cooker I get permission denied when I try to enter my documents folder under windows.

So, when you're in Windows, you can't enter your documents folder? Or when you're in MDV? And, is it only the Win7 documents folder?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: NTFS - permission denied

Postby viking60 » 19 Mar 2010, 01:46

dedanna1029 wrote:I'm more curious as to where you say I forgot the slash; I'm seeing the exact same code in yours as I laid out.

Thats because I fixed it (In your post) your original was

Code: Select all

cat boot/grub/menu.lst
It is in the logs. ;)
dedanna1029 wrote:So, when you're in Windows, you can't enter your documents folder? Or when you're in MDV? And, is it only the Win7 documents folder?

When in MDV. Mostly Win7 Document folders (Except for one I stupidly ran a Chown -R Me on) I can enter some other system folders.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 19 Mar 2010, 02:13

Ah, sorry.

Okay, I've requested the heavy-duty help; it's a matter of time now. :)

Something is bugging me though. If it's only the Win7 documents folder, then I'm thinking there's got to be a file or something in there that's hanging up the works. Can you get into Windows 7, and see if you have any suspicious-looking icons next to any of the files in the documents folder? And, if you do, right-click that file and go to Properties, see what all it says there?

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: NTFS - permission denied

Postby viking60 » 19 Mar 2010, 02:50

Urmph - going to Windows.....
....Back again. I think you are on to something. The folder Users/tb has a lock symbol on it. I can access it just fine from Windows.
Sharing etc does not help so I will have to check the policies etc.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: NTFS - permission denied

Postby rolf » 19 Mar 2010, 03:27

Ahoy, Berserken!
I've been pinged but don't have much experience in Windows, only just made one ntfs partition when the free isos of Win7beta were available.
So, what I can do is show what I have here:

fstab:
/media/win_c2 ntfs-3g defaults,umask=000 0 0

fdisk:

Device Boot Start End Blocks Id System
/dev/sdf1 1 1376 11052688+ 7 HPFS/NTFS

a test:

Code: Select all

[rolf@localhost ~]$ touch /media/win_c2/writing_to_the_root
[rolf@localhost ~]$ ll /media/win_c2/writing_to_the_root
-rwxrwxrwx 1 root root 0 2010-03-18 19:18 /media/win_c2/writing_to_the_root*


I'm pretty sure the permissions on MS filesystems is illusory, it's not supported. My fstab is just how the installer identified and set up that partition in fstab; I haven't done any ntfs-config or even been to that partition until now, but I seem to recall some deal around umask affecting write permissions.

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: NTFS - permission denied

Postby dedanna1029 » 19 Mar 2010, 03:52

Thanks Rolf. :)

I knew your magic could point it somewhere. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”