PDA

View Full Version : [ubuntu] owner/user issue



wcorey
May 18th, 2008, 02:25 AM
Hi, I have a perplexing issue. I have a thunderbird profile on a NAS unit mounted as NFS. It shows the user/group as 1000 1000. Since I reinstalled Linux my userid is 500 and I can not open the file with thunderbird. I tried going in as root to change the ownership of those files and directories but received permission denied. How do I change ownership of that directory tree?

Thanks,

Walt

HalPomeranz
May 18th, 2008, 02:58 AM
You can't do operations as root on a file system that's mounted from a remote NFS server (unless the server admin explicitly allows you to do so), so your chown won't work. If you have admin privileges on the file server, you can do the chown there.

However, it's probably easier for you to change your user/group on your Ubuntu system. "sudo vi /etc/passwd" and change the third field of your password entry from 500 to 1000. Then cd to your home directory and do "sudo chown -R 1000 ." to reset the ownerships on the files in your homedir (this is a dangerous operation, so make sure you're in the correct directory when you execute the chown command). Then you'll need to log out and log back in again.