Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 an old fileserver (called gollem) running suse 9.1
I have a new fileserver (called zefod) running Debian Etch v. 2.6
On both fileservers I have the same users but the uid's are different.
f.i. old: user bill uid 1000
new: user bill uid 1001
workstation: user bill uid 1001
I mounted the homedirs of both servers on the workstation (/gollem/bill and /zefod/bill) and copied the files from old to new.
The files were copied, but no I have permission problems on the mounted new fileserver.
- when I copy a file xx.txt from the workstation to /zefod/bill , I get
Could not change permissions for /zefod/bill/xx.txt
the is copied all the same.
- when I create a new file /zefod/bill/yy.txt, the file is created.
when I then edit the file and try to save it I get:
The document could not be saved. It was not possible to write to
/zefod/bill/yy.txt
Can I do something the files on the new server to repair it?
If not What do I do to copy the files from old to new so that no problems will occur?
On which ever files your are having permission problems. Which it seems are the files that you copied zefod. These files will probably all still have owner id 1000, but you want to make them 1001. ls -n will show you the owner id.
Ok Bill,
you're loosing me here. I asked if you had tried to chmod the files: you didn't answer.
Your ls -n listings zaphod and marvin (which I'm guessing is the workstation) show uid 1001. On both of these machines the user bill is 1001. Is there still a problem of some sort?
marvin is my workstation:
bill@Marvin:/zefod/bill/private> id
uid=1001(bill) gid=100(users) groups=6(disk),16(dialout),33(video),100(users),1000(MOGEN)
I did chmod the files some time ago.
This is the problem:
I create the file 123.txt with vi
bill@Marvin:/zefod/bill/private> vi 123.txt
bill@Marvin:/zefod/bill/private> ls -n
total 10636
The document could not be saved, as it was not possible to write to file:///zefod/bill/private/123.txt.
I cannot save the file.
when I copy a file from my homedir:
cp /home/bill/456.txt /zefod/bill/private/
the file is copied.
When I drag the file from /home/bill to /zefod/bill/private using konqueror I get:
Could not change permissions for
/zefod/bill/private/456.txt
the file is copied.
The copied file can be edited with vi but not with kwrite.
When I create a file with open office writer and try to save it in
/zefod/bill/private I get:
Error saving document xxx: document not accessible
the document cannot be accessed due to insufficient user rights
Ok, so with normal system tools everything works. However when you use KDE, you get vague permission error messages. Sorry, that sounds like a KDE problem. If you can reproduce the problems on the command line I can help, but otherwise I can't
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.