How to "NOT" mount NTFS Partitions ??? (Solved)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How to "NOT" mount NTFS Partitions ??? (Solved)

Postby tomast on Tue Jun 30, 2009 9:20 am

Maybe this has already been asked and answered but I can seem to find
any solution...
Here is my problem...
I have a dual boot with XP and Gloria and I manually accessed the XP dirve
giving the password to get in. That's all good but now when I click on the
XP drive it no longer asks for the password.

I do NOT want auto mount or any access to this drive unless password is given.
This is a shared computer and I don't want anyone to mess with the NTFS drive
except me.

I guess I didn't check the right checkbox... But not how do I undo it and get
it back to the default -w- password ?

I know so many want to auto mount their NTFS or FAT32 drive or partition ,
but I seem to have the exact opposite problem.... ;-)

Tom
Last edited by tomast on Wed Jul 01, 2009 7:56 am, edited 1 time in total.
User avatar
tomast
Level 2
Level 2
 
Posts: 65
Joined: Thu Apr 02, 2009 3:02 pm

Linux Mint is funded by ads and donations.
 

Re: How to "NOT" mount NTFS Partitions ???

Postby optimize me on Tue Jun 30, 2009 9:36 am

https://help.ubuntu.com/community/Fstab

There's some useful links at the bottom of that page. Off hand, I would think you need the nouser & noauto options, but I think those are defaults anyways.
optimize me
Level 5
Level 5
 
Posts: 635
Joined: Wed Jun 03, 2009 5:25 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby Nicki on Tue Jun 30, 2009 9:52 am

Try to change your mounting point from /media/Windows to /j/hd in /etc/fstab. This solved my problem in Mandriva, and I hope it can do the same here in Mint. Now I'm unable to see the partition in the menu.
Nicki
Level 3
Level 3
 
Posts: 147
Joined: Wed May 27, 2009 3:15 pm
Location: Sweden

Re: How to "NOT" mount NTFS Partitions ???

Postby tomast on Tue Jun 30, 2009 10:34 am

optimize me ,
I think you are on the right track by what I can tell.
The "nouser" thing seems right but I don't know the proper
syntax to do it in terminal ????


I do still want to be able to "see" the drive so I can get to it
if I need to but I don't want any of the many other users of
this box to be able to get to it without a password...

Thanks for the help, but now can someone tell me the syntax ?

I guess I am lazy and I want to be able to just "click" on stuff
to make it happen.... I get cornfused about the terminal commands ... ;-)
( I have XP on the first hard drive and Mint7 on the second drive... )

T
User avatar
tomast
Level 2
Level 2
 
Posts: 65
Joined: Thu Apr 02, 2009 3:02 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby DrHu on Tue Jun 30, 2009 1:21 pm

Well before you enjoy reading the rest of the important info, a message from our sponsor..
http://ubuntuforums.org/showthread.php?t=115694
http://www.root.cz/man/8/mount-ntfs-8-gz/
Access handling, security
By default, files and directories are owned by the effective user and group of the mounting process and everybody has full read, write, execution and directory browsing permissions. If you want to use permissions handling then use the uid and/or the gid options together with the umask, or fmask and dmask options



Rather than trying to make samba understand and control the windows ntfs files/directories (folders)
--You could setup the share in windows for a specific user, the only user who can access that directory/folder or file
acl + file permissions

Win 2000/XP, acl (access control list)
http://www.computerperformance.co.uk/w2 ... /cacls.htm

Win Vista, uac (user account control)
http://technet.microsoft.com/en-us/libr ... 9691(WS.10).aspx

MAC OS-X, now uses acl
http://arstechnica.com/apple/reviews/20 ... 10-4.ars/8
http://docs.info.apple.com/article.html ... 3wn38.html
--Linux could as well (posix acl)

Linux, posix acl..
http://docs.hp.com/en/B8725-90143/ch03s02.html
http://www.onlamp.com/pub/a/bsd/2003/08 ... _acls.html
User avatar
DrHu
Level 10
Level 10
 
Posts: 3466
Joined: Wed Jun 17, 2009 8:20 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby altair4 on Tue Jun 30, 2009 2:42 pm

This is definitely a Fred ( or other learned person question ) but aren't we over-thinking this a bit.

Can't we just create a mount point in the users home directory: mkdir /home/tom/Windows

Then add a line in fstab that looks something like this:

/dev/sdxy /home/tom/Windows ntfs defaults,umask=077,uid=1000 0 0

umask=077 will prevent anyone other than the user to read/write/execute to whatever /dev/sdxy really is.
uid=1000 will make the user tom ( assuming the uid for tom is 1000 - to find out type id in a terminal ).

EDIT: It will automount and It won't ask for a password but you ( tom ) will be the only person to access it.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 7
Level 7
 
Posts: 1823
Joined: Tue Feb 03, 2009 10:27 am

Re: How to "NOT" mount NTFS Partitions ???

Postby tomast on Tue Jun 30, 2009 3:33 pm

Im so confused....
I think know what I did , ( I clicked on the XP drive , put in the pass then I clicked OK or open or whatever)
The problem is I didn't check the box that said "this session only" I think that's what it said.....
I know what I did maybe , but now I don't know how to "undo it"....
Sure was easy getting there but so hard finding my way back.......... :-(

Usually I figure out most stuff and Gloria makes it so simple , but this one has
me stumped.... Waaaaaaaa ! (crying baby sound)

Oh well almost time for a fresh install anyway.
At least I learned what NOT to do next time.... ;-)

Thanks guys
T
User avatar
tomast
Level 2
Level 2
 
Posts: 65
Joined: Thu Apr 02, 2009 3:02 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby linuxviolin on Tue Jun 30, 2009 4:05 pm

tomast, if you don't want to mount a partition/a volume at boot automatically you must remove the line about it in your fstab. All partitions in this file are mounted at boot. Then after you should mount it "by hand".
Last edited by linuxviolin on Tue Jun 30, 2009 4:07 pm, edited 1 time in total.
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 6
Level 6
 
Posts: 1168
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: How to "NOT" mount NTFS Partitions ???

Postby altair4 on Tue Jun 30, 2009 4:06 pm

I may have finally figured out what you're trying to do - maybe :wink: The key was a phrase in your last post:
"this session only"


Try this: Menu > Administration > Authorizations > storage > Mount file systems from internal drives > Explicit Authoizations >

You probably have an entry for yourself - just click on the "Revoke" button and the next time you ( or anyone else) attempts to access it it will ask for a password again.

EDIT: Just so you know I reproduced your "problem" and followed the above steps and it returned to asking for a password.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 7
Level 7
 
Posts: 1823
Joined: Tue Feb 03, 2009 10:27 am

Re: How to "NOT" mount NTFS Partitions ???

Postby linuxviolin on Tue Jun 30, 2009 4:12 pm

About the problem of the password, I guess altair4 is on the good way... :D
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 6
Level 6
 
Posts: 1168
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: How to "NOT" mount NTFS Partitions ???

Postby tomast on Tue Jun 30, 2009 4:16 pm

AWSOME altair4 , I will try that as soon as I get home.....
Will let you know what happen tommorow..

TY
Tom T
User avatar
tomast
Level 2
Level 2
 
Posts: 65
Joined: Thu Apr 02, 2009 3:02 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby tomast on Wed Jul 01, 2009 7:53 am

altair4 ,
Thanks a lot !
That was exactly what I was looking for.
Worked like a charm....
Once again Gloria made it very easy.
I was just to dumb to find the solution.

Thank you for pointing me in the right direction...

Tom
User avatar
tomast
Level 2
Level 2
 
Posts: 65
Joined: Thu Apr 02, 2009 3:02 pm

Re: How to "NOT" mount NTFS Partitions ???

Postby linuxviolin on Thu Jul 02, 2009 5:16 pm

tomast wrote:That was exactly what I was looking for.

(...)

Once again Gloria made it very easy.

Sorry but here it's not Gloria but Gnome! You can do the same thing in another distro with Gnome, e.g. in my Debian Testing box... :wink:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 6
Level 6
 
Posts: 1168
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: shreeyashattal and 10 guests