LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2009, 09:31 PM   #1
techiewannabe
LQ Newbie
 
Registered: Jul 2005
Posts: 27

Rep: Reputation: 0
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.
 
Old 09-03-2009, 09:43 PM   #2
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
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 /
 
Old 09-03-2009, 10:13 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by tanveer View Post
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.
 
Old 09-04-2009, 11:56 AM   #4
techiewannabe
LQ Newbie
 
Registered: Jul 2005
Posts: 27

Original Poster
Rep: Reputation: 0
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
 
Old 09-04-2009, 04:25 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
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>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing users between several machines coal-fire-ice Linux - Security 3 08-24-2007 02:18 AM
Files sharing between users on same computer Artik Linux - Security 5 07-13-2005 02:23 PM
Sharing USB devices between users sleepkreep Linux - Software 1 07-01-2005 09:26 PM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
How to use IP Tables blocks a CHAT USERS and Sharing Files with P2P or Napster??? LiloAma Linux - Security 14 12-24-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration