file transfer and permissions

Message boards : BOINC client : file transfer and permissions
Message board moderation

To post messages, you must log in.

AuthorMessage
Daniel Gandolfo

Send message
Joined: 5 Dec 05
Posts: 38
United Kingdom
Message 17130 - Posted: 3 May 2008, 8:43:32 UTC

Dear All,

I am trying to copy some files on my desktop to the following directory:

/var/lib/boinc-client/projects/.

I found that I did not have permission to copy to the projects file.

I went through the following commands.

I opened up a terminal and logged in as superuser

su

I then pointed to the projects file and then modified the ownerships with chmod

Unfortunately this did not work.

Here are the ownerships if the file projects.

dr-xr-x--x 3 boinc boinc 4096 2008-04-18 07:00 projects

This return obviously says there are three files within projects but all I find is one named setiathome.berkeley.edu

Why the mismatch?


Could anybody help me out.

Once I have changed the ownerships in order that I can copy files to it will I be able to drag and drop or will I have to use the cp command?

Nevica
ID: 17130 · Report as offensive
MikeMarsUK

Send message
Joined: 16 Apr 06
Posts: 386
United Kingdom
Message 17135 - Posted: 3 May 2008, 9:23:37 UTC


If I recall correctly chmod alters filepermissions, but ownership is set via chown? (I'm not too sure, never used chown).
ID: 17135 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 17140 - Posted: 3 May 2008, 11:31:33 UTC - in response to Message 17135.  


If I recall correctly chmod alters filepermissions, but ownership is set via chown? (I'm not too sure, never used chown).



Yup. chmod does permissions. chmod does both owners and groups. There is also chgrp.

If you need to change both the owner and group, you'll need to do chown ownername:groupname substituting the correct owner and group, of course.
Kathryn :o)
ID: 17140 · Report as offensive
Thyme Lawn

Send message
Joined: 2 Sep 05
Posts: 103
United Kingdom
Message 17155 - Posted: 3 May 2008, 21:08:47 UTC - in response to Message 17130.  
Last modified: 3 May 2008, 21:09:27 UTC

dr-xr-x--x 3 boinc boinc 4096 2008-04-18 07:00 projects

This return obviously says there are three files within projects but all I find is one named setiathome.berkeley.edu

Why the mismatch?

There's no mismatch. 3 is the link count. The first is the parent directory (..), the second is the self-reference (.) and the third is the S@H subdirectory.
"The ultimate test of a moral society is the kind of world that it leaves to its children." - Dietrich Bonhoeffer
ID: 17155 · Report as offensive

Message boards : BOINC client : file transfer and permissions

Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.