Results 1 to 4 of 4
Hello,
I recently upgraded the Motherboard and CPU on my linux box. The previous box was running SuSe11.2 and the new one is running 11.2.
When I upgraded the system ...
- 06-11-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
File Permission Problems
Hello,
I recently upgraded the Motherboard and CPU on my linux box. The previous box was running SuSe11.2 and the new one is running 11.2.
When I upgraded the system I transferred 5 hard drives from the old box. The old drives are formatted with Reiser.
For some reason, I think it copied over the old UIDs from the previous machine. Now I can not chmod or chown any of the files as it returns "Permission Denied, Read Only" The drives are not mounted read only.
How can I take ownership of these files to change the permissions?
Thanks
- 06-11-2010 #2
chown
Have you tried it as root?
<username> is the user you want to change ownership toCode:$su #chown <username> <filename>
<filename> is the path to the file & filename eg: /home/username/file-to-chown
use -R for recursive (* and . work with this to save time)
chown - Change file ownership
- 06-11-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
yes, I have tried as root and it is not mounted r/o
- 06-11-2010 #4
looks like this will work:
(su instead of sudo)
source:http://www.linuxforums.org/forum/deb...permitted.htmlchown and chmod will work fine after this:
1. Check Your user's id (UID). For the example, mine is 1000 and used in 3.
2. Go to terminal and with root access edit /etc/fstab
sudo gedit /etc/fstab
3. Paste this utf8,umask=0000,uid=1000,gid=1000 in the <options> section, save and exit
4. In the terminal: sudo umount -a
5. In the terminal: sudo mount -a


Reply With Quote