Am I misunderstanding chown and chmod?

Posted by isomorphismes on Ask Ubuntu See other posts from Ask Ubuntu or by isomorphismes
Published on 2012-06-25T01:54:05Z Indexed on 2012/06/25 3:22 UTC
Read the original article Hit count: 319

Filed under:
|
|
|
|

I want to either extend the size of my guest partition or figure out how to copy stuff from the guest partition to my normal /home directory.

(Because of some other problems I can only run Xorg as guest, but I can log into virtual console as myself or root.)

Here's the motivation: I want to torrent a large file. It's larger than my guest filesystem. But I have plenty of space on my real drive, I just can't log into it graphically.

So I tried to set up a "pipe" to get the file out of the tmpfs. I did:

su -u myself 
#catch
mkdir ~/receiver_dir

sudo su
cd /tmp/guest-lkj567UIO/ 
#throw
ln -s mario_pipe /home/myself/receiver_dir
chown -R guest-lkj567UIO /home/myself/receiver_dir
chown -R guest-lkj567UIO /tmp/guest-lkj567UIO/mario_pipe
chmod -R a+rw /home/myself/receiver_dir
chmod -R a+rw /tmp/guest-lkj567UIO/mario_pipe

su -u guest-lkj567UIO
cd /tmp/guest-lkj567UIO
cd mario_pipe
touch something #success!

However, when I try to torrent to /tmp/guest-lkj567UIO/mario_pipe, Transmission says I don't have write permissions. But it looks like I just wrote there? And that everybody (a+rw) can write there in fact?

Maybe this indicates I don't actually understand chown and chmod but nothing from their man pages pops out.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about chmod