UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
I'm a new linux user. I have a problem when trying to chown or chgrp the files on my Ubuntu 6.10.
see this
Code:
ahmed@shreef:/media/hda2$ su - root
Password:
root@shreef:~# cd /media/hda2
root@shreef:/media/hda2# chown ahmed "my docs"
chown: changing ownership of `my docs': Operation not permitted
also, if I try to chmod 777 the files, I get the files only changed to be 770. it will look like that :
this permissions problem is driving me crazy, I'm trying to compile php and mysql from source, but I always get some errors related to this permissions problem.
root@shreef:/media/hda2# chown ahmed:ahmed "my docs"
chown: changing ownership of `my docs': Operation not permitted
I don't think that the space in the name of the folder is the problem as this happens with all the files/folders.
I read before about something called fsktaps and mounting the HD. I don't know if these things are related to this problem. I can read and write to/from my fat32 partitions without problems, but I can't change the permissions of the files/folders even when working as root user. what I understand is that the root user can do every thing whatever it is this thing, but in my case, the root user can't even get in his shoes without help ... lol
errrrrrrrrr...... i dont think you need to do anything special with vfat. Just mount the partition and you should be able to write data do it. vfat does not require any special driver etc for writing from linux.
If you are unable to write to vfat partition, check the permissions. may be you are mouting the file system as read only. change that to "rw" and you should be all set.
Ok that is it! I have officially tried everything! I mounted it in a different location, change the parameters, and no matter what I do the directory won't mount rw for users, and the permissions are stuck! sigh...do I need special software?
For those who were wondering I fixed my problem. Vfat volumes don't store owner information so Linux automatically assigns it as root. Its not easy to switch data to a different filesystem on the same drive...I lost data in the transfer. :'(
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.