Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem, I try to add a user but when I do
this happens
Adding user `matt'...
Adding new group `matt' (1000).
Adding new user `matt' (1000) with group `matt'.
Creating home directory `/home/matt'.
chown 1000:1000 /home/matt: Operation not permitted
Cleaning up.
Removing directory `/home/matt'
Removing user `matt'.
Removing group `matt'.
groupdel: group matt does not exist
this is a huge problem the only user I have is root! if it matters /home is on a different partition then /, its a fat32 partition if that matters
Originally posted by Mr. New /home is on a different partition then /, its a fat32 partition if that matters
Bad news: it very much matters. The Fat32 filesystem does not support permissions. That means the attempt to change ownership and permissions will fail everytime. If you want to create a partition that is readable by both windows and linux, then I would suggest creating a partition, formating it as FAT32, and then mounting it somewhere such as /home/windows_share. If you're not trying to share a partition, then dump Fat32 like a hot potato.
You can work around this problem is you absolutely must, but it will be more pain than it's worth... trust me.
Sure. From the command line, execute these commands:
umount /home
mkfs.ext3 /dev/hd??
mount -t ext3 /dev/hd?? /home
Obviously, you'll need to replace hd?? with the apropriate drive and partition number for your /home partition. Then you can create the /home/matt directory and change permissions.
NOTE: you may also need to change your /etc/fstab. Open it up in a text editor, look for a line that looks like:
Code:
/dev/hd?? /home vfat ...
The key thing is the vfat. Change it to ext3 and save. If you're not sure, just post the whole contents of /etc/fstab and I'll help you make the necessary change.
Last edited by Dark_Helmet; 01-08-2005 at 05:32 PM.
I changed a few things I decided I'll keep it but change it to /home/windows for windows and linux to share I just put that in fstab created that directory and it worked
I apologize for not reading your initial post more thoroughly. I didn't see that FAT32 part
If you do decide to remove your FAT partition, I have one confused word of warning. I had problems with lilo when I tried removing windows; I don't know exactly why. Be very sure to have a debian boot disk availabe.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.