LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sharing Files Among Users (https://www.linuxquestions.org/questions/linux-newbie-8/sharing-files-among-users-752550/)

techiewannabe 09-03-2009 09:31 PM

Sharing Files Among Users
 
I am very much a newbie!! I installed a Linux system on an old laptop about a month ago. The learning curve has been fairly steep, but I'm enjoying it.

I'm trying to figure out how I can share files with members of my family who share the same computer. For example, I have photos that I would like my wife to be able to access. Does Linux allow for such access?

I'm running Ubuntu 9.04 on a Compaq Presario R3000 laptop.

Any help would be appreciated.

tanveer 09-03-2009 09:43 PM

just create a folder and a group for your family.
assign all the family users a member of that group and then provide read/write permission for that group you feel necessary.

But if you want to create that folder inside your home folder then it would require some extra steps. so better create the folder under /

jstephens84 09-03-2009 10:13 PM

Quote:

Originally Posted by tanveer (Post 3669037)
just create a folder and a group for your family.
assign all the family users a member of that group and then provide read/write permission for that group you feel necessary.

But if you want to create that folder inside your home folder then it would require some extra steps. so better create the folder under /

I would probably create the directory under /usr/ as it probably isn't good practice to just create a group shared folder under the / directory.

techiewannabe 09-04-2009 11:56 AM

tanveer and stephens84:

Thanks for your notes.

When I try to set up a shared file under the file system, I'm not allowed to create a new file. Am I looking in the wrong place?

By the way, are you aware of a simple tutorial dealing with the the merits/demerits of using groups versus individuals user accounts?

Thanks.

Tom

jstephens84 09-04-2009 04:25 PM

you may need to change the group owner of the folder. depending on where you setup the folder you would do the following
Code:

sudo chgrp -R <groupname> /<folderpath>/<foldername>
then add all who need permissions to write to the folder to the group that you set as the owner. you may also need to change the permissions so that the group has write access this can be done by issuing the following

Code:

sudo chmod 764 -R /<folderpath>/<foldername>


All times are GMT -5. The time now is 05:18 PM.