Re: mount problem

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

 



>On Friday 26 January 2007 15:14, Craig White wrote:
>> > I simply want users to be able to write to those directories.  I hate
>> > having to do things as root when it isn't necessary or advisable for
>> > security. The /mnt/Holding one is the vital one.  That was deliberately
>> > set up with huge amounts of space for this purpose.
>>
>> ----
>> you might want to consider doing things like this...
>>
>> if all 'users' are members of 'users' group
>>
>> chgrp users /mnt/Holding -R
>> chmod g+s /mnt/Holding -R
>> chmod g+w /mnt/Holding -R
>>
>> bear in mind that users with a default umask of 022 will create files
>> with a 644 and folders with 755 permissions which means that other users
>> will not be able to 'write' into those directories or over those files.
>>
>If I chgrp and chmod, wouldn't that last for one session only?  IOW - Wouldn't 
>it be overwritten when I boot up tomorrow?


If you simply make /mnt/HOLDING world read/write *after* your
filesystem is mounted on it, and add the 'sticky' bit, the
directory will function like /tmp. i.e. anyone can read/write/execute
but only the owner can delete. Is this suitable?

chmod a+rwxt /mnt/Holding (or chmod 1777 /mnt/Holding)

will do it, and the permission should stay-put across re-mounts.

Cheers,
Terry

[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