FedoraThis forum is for the discussion of the Fedora Project.
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.
Well, I've been using Linux since 2 years. Finally, I decided to completely remove all traces of Windows from my box. As you can imagine that I backed up all data on a different PC, installed "Fedora Core 2" and then moved all data back to the box as "root".
Now, most of the files copied back have only "read" permission for "anurag"(a normal user). This time I also tried using multiple partitions instead of one /
So I created / , /masti , /software and /other.
The problem is, is there any automatic way to take ownership and access to all my data from "root" to "anurag" ??
How to allow read/write permission to /masti /software /other in normal user mode( just send me the fstab line, i havent changed it yet )
You don't do that in fstab, change the permissions on the files or the ownership.
If root is owner, change ownership:
# chown -R anurag anurag <directory> (-R changes recursively)
or for permissions:
# chmod -R u+w <directory> (instead of 'u+w' you could type in numbers, like '700' gives full access to owner, no access to other.)
Not sure really...
Do you type the full path when trying to execute?
Don't know if you know that Linux doesn't search any path not specified in $PATH. That means that unlike DOS/Windows, you can't execute binaries in the present directory without adding the path. You could use
I resolved the problem......actually i posted the problem to my local LUG...and one of the members suggested to add "exec" as an option for the partitions in fstab.....Now all my executables work fine .... cheers..!!