problem with mount and ...

2005-10-29 Thread Wodzu Wodzowski
Hy. I've got two problems :

One is with mount command problem. I wrote in fstab file:
/dev/hda2   /mnt/winD   ntfs   ro,user,auto   0   0

(where hda2 is one of my Win ntfs partitions)
and it's mounted properly (think so.. : ), but, when I'm trying to get access 
to this partition, I receive an information like that: you don't have 
privilegies to this file...blah blah blah (don't remember, sorry..). So I 
checked attributes of this file and use 'chmod 777 ...' and stiil don't have 
access to this partition. Hope that You understand what I mean.


Jaki bedzie Twoj Halloween ?
Sprawdź: 
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fhhalloween.htmlsid=548



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem with mount and ...

2005-10-29 Thread Neil McGovern
On Sat, Oct 29, 2005 at 09:35:27PM +0200, Wodzu Wodzowski wrote:
 Hy. I've got two problems :
 
 One is with mount command problem. I wrote in fstab file:
 /dev/hda2   /mnt/winD   ntfs   ro,user,auto   0   0
 

1) NTFS volumes are read only
2) You've got the wrong list. You want debian-user@lists.debian.org

Regards,
Neil
-- 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li B345BDD3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem with mount and ...

2005-10-29 Thread Peter Samuelson

[Wodzu Wodzowski]
 One is with mount command problem. I wrote in fstab file:
 /dev/hda2   /mnt/winD   ntfs   ro,user,auto   0   0

This *is* the wrong list, as mentioned - but anyway.  I don't know why
you use both the user and auto flags.  For one thing, auto is
already the default, so does not need to be specified; for another,
user is usually used with noauto instead (people normally want
either user,noauto or the defaults of nouser,auto).

But what you do want is the flag umask=0 as explained below:

  /dev/hda2   /mnt/winD   ntfs   ro,umask=0   0   0
  /dev/hda2   /mnt/winD   ntfs   ro,umask=0,user,noauto   0   0

(Depending on your desired configuration.)


 So I checked attributes of this file and use 'chmod 777
 ...' and stiil don't have access to this partition.

chmod does not work with the ntfs filesystem: the Linux kernel code for
ntfs does not bother to read or write permissions information for
files, since NT permissions are so different from Unix permissions.
(User and group IDs would have to be mapped from one space to the
other, and the classic Unix permission bits don't exist per se in Win32
either.  Windows files have ACLs instead.)  The only way to control the
permissions presented is the umask option at mount time.


signature.asc
Description: Digital signature