LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-02-2006, 05:32 AM   #1
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Rep: Reputation: 15
quick question, ownership of a partition


i am trying to set it um so that a 60 gig fat32 partition is mounted as /home, so that windows can access my work too. however when i try to adduser it fails because it cant set the ownership of /home/user to 1000:1000. so how do i set up my partition so that this will work. i am using debian or kubuntu to install, dont rly care
 
Old 02-02-2006, 06:16 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can't do this on a fat32 partition - the fat32 file system doesn't support the same attributes as the Linux file systems. You can mount the fat32 partition somewhere else, put your data files there and create symbolic links (ln -s) in your home directory that point to the files on the fat32 partition.
 
Old 02-02-2006, 09:04 AM   #3
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
well, i beg to differ, because i have just done it :P
 
Old 02-02-2006, 12:46 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Did what? Got fat32 to store linux file system attributes?You can't use chown on a fat32 file system (even as root):

Code:
# chown martin:martin martin
chown: changing ownership of `martin': Operation not permitted
And you can't modify the permissions on a fat32 file system:

Code:
# ls -l
total 4
drwxr-xr-x  2 root root 4096 2006-02-03 04:42 martin
root@fender:/mnt/dongle/home# chmod 0777 martin
root@fender:/mnt/dongle/home# ls -l
total 4
drwxr-xr-x  2 root root 4096 2006-02-03 04:42 martin
What am I missing here? If you mount a fat32 partition at /home it shouldn't work. Did you mount it under your own home directory?
 
  


Reply



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
Quick partition question? Mojojo Linux - Software 3 10-09-2005 03:58 PM
quick question: Does hibernate requires swap partition? carboncopy Linux - Laptop and Netbook 5 09-18-2005 06:35 AM
Quick/Dumb partition question. DR_K13 Linux - Newbie 5 02-23-2005 05:48 PM
Couldn't change ownership on a Fat32 partition kt8993 Linux - Security 2 01-09-2005 10:21 AM
Quick question about much i should give each partition?... NeoX51 Linux - Newbie 2 06-11-2004 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:25 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
Open Source Consulting | Domain Registration