Re: Creating a common folder for all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 29, 2008 at 2:54 PM, Jeroen van Meeuwen <kanarip@xxxxxxxxxxx> wrote:
> Steve Repo wrote:
>>
>> I have a f9 system at home and it is used by me, wife and kids.
>>
>> Sometimes we want to share files docs, pictures and stuff. Here are my
>> plans,
>>
>> 1. mkdir /fileshare
>>
>> 2. create "share" group
>>
>> 3. add all users this group
>>
>> 4. chmod -R ug+rwx /fileshare
>>
>> 5. chown -R root:share /fileshare
>>
>> 6. for each user, rm -rf /home/<user>/Public
>>
>> 7. for each user, ln -s /fileshare /home/<user>/Public
>>
>> Whatever they copy to their Public directory, it will be visible by all.
>>
>> Will this work? Is there a better idea?
>>
>
> In addition to your chmod -R ug+rwx /fileshare command, how about you make
> the group permissions "stick" to newly created files and directories inside
> /fileshare?
>
> chmod g+s /fileshare
>
> Note that all users in the share group can then create/modify/delete all
> files and directories in /fileshare
>
> Note that you are allowing the users to delete the directory /fileshare/
> itself as well...
>

Thanks for all the tips! How do I prevent someone from deleting /fileshare?

Steve

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux