asteinmetz;239515 Wrote: 
> ...along those lines I want to copy my Windows slimserver.prefs to my
> new Ubuntu box but I can't because I don't own the file.  I understand
> chown but I don't want to own the file I just want permission to change
> it.  Can I do that without ownership somehow?  Thanks.

1. You can make it world writable:

chmod o+rw filename

That's dangerous if anyone who can log in to the machine shouldn't have
write privs on the file.

2. You can create a group that you are in (and slimserver or whoever
else is in), chgrp it to that group, and
chmod g+rw filename

3. More advanced stuff is possible with ACLs but gets tricky and
non-portable even between filesystems.

If it's on a Windows partition, the priv stuff may be different (and
make sure that the partition is mounted without ro)


-- 
SumnerH
------------------------------------------------------------------------
SumnerH's Profile: http://forums.slimdevices.com/member.php?userid=13035
View this thread: http://forums.slimdevices.com/showthread.php?t=39465

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to