LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-25-2006, 04:33 PM   #1
alooma
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
how give permission to user for using mounted devices


l use ubuntu distrobution when i type "sudo chmod 555 hda1" then
"chmod: changing permissions of `hda1': Read-only file system"
how can l use ntfs with my user account?
 
Old 09-25-2006, 04:48 PM   #2
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
i think u cant' change perms on a drive: /dev/hda1...
 
Old 09-25-2006, 09:46 PM   #3
fudam
Member
 
Registered: Feb 2006
Distribution: FC
Posts: 86

Rep: Reputation: 15
I don't think you can use *NIX style permissions with NTFS.

But you might be able to set global permissions for the entire partition? maybe? If you can, then you'd have to mount the device and set your permissions up through the mount.
Code:
mount /dev/hda1 /mnt/win_partition
chmod 555 /mnt/win_partition
If this is something you want to do on a normal basis you may want to make an "auto" entry into your fstab (man fstab for more info).

Now if my assumption is correct, you are trying to check out a Windows NTFS partition in Linux. I believe NTFS is a journaling filesystem and I'm not sure how happy it would be if you messed around too much with the files while it was down. It may not matter, or Linux may have the ability to keep up with the housekeeping. I honestly don't know... personally I've used a FAT32 shared partition in the past as a go-between.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 11:03 AM
How do I give a user permission to save files to /var/www/html? rotnay6000 Linux - Newbie 10 07-14-2009 09:45 PM
Mounted a filesystem as root.How does one give write-permission to a user? Mr.DeVillie Linux - Software 4 02-08-2006 08:20 AM
How can give ROOT permission to a NORMAL USER bipinkdas Linux - Software 2 06-24-2005 12:03 AM
How to give user permission to suspend with apm Bagleemo Linux - Laptop and Netbook 2 12-27-2003 02:10 PM


All times are GMT -5. The time now is 12:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration