Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Partition Permissions
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Partition Permissions

  1. #1

    Partition Permissions

    I have four different distros spread out across two 20 GB hard drives. I have set up the last partition, hda3, as resiserfs. I am going to mount this partition at boot, on all four distros, on /mnt/shared. The shared partition will contain some backgrounds and documentation that I would like ALL users to, not only be able to access, but also have permission to write. For instance, user A finds some cool howto and should be able to save it in any directory on /mnt/shared. How do I set permissions so that this is possible? chmod what?

  2. #2

    Re:Partition Permissions

    chmod 777 will give everyone access to everything on the partition/file/folder.

  3. #3
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Partition Permissions

    Well, in the /etc/fstab, you can mount it with RW ( read and write ) instead of RO ( read only ).

    Code:
    /dev/hda3          /mnt/shared     reinserfs      rw,user,auto     0      2
    would do the trick.

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Posts
    69

    Re:Partition Permissions

    Remember to let which group to access partition, a typical entry at /etc/fstab:

    /dev/hdaX /mnt/mypart ext3 noauto,owner,user,rsize=8192,wsize=8192 0 0

    or when you do a chmod, if there are subdirectories and if you want em to be available, dun forget the subdirectories switches.

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Partition Permissions

    [quote author=gigsvoo link=board=1;threadid=5433;start=0#53127 date=1036468399]
    Remember to let which group to access partition[/quote]
    He wants it world writible.
    /dev/hdaX /mnt/mypart ext3 noauto,owner,user,rsize=8192,wsize=8192 0 0
    The "noauto" part will make it not to mount it when boot up.

  6. #6
    Junior Member
    Join Date
    Nov 2002
    Posts
    69

    Re:Partition Permissions

    Yeah, I did not read properly that is auto mount during startup, then should place entry at /etc/autofs instead of /etc/fstab.

    Making the partition simply using chmod is not a good security practice, should create a group, add guest, users etc... anyone to the system to that group and assigned rights to the group.

  7. #7
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Partition Permissions

    [quote author=gigsvoo link=board=1;threadid=5433;start=0#53143 date=1036477835]
    Making the partition simply using chmod is not a good security practice[/quote]
    Normally, absolutely agree. A good security practice should always be used.

    should create a group, add guest, users etc... anyone to the system to that group and assigned rights to the group.
    But in what he wants to do, it's not needed. The trouble of going through all that work for non-important data such as MP3 files is too much of a work for such data. YMMV for what's imporant and what's not.

  8. #8
    Junior Member
    Join Date
    Nov 2002
    Posts
    69

    Re:Partition Permissions

    I wonder why he/she does not use Samba server instead? ???

  9. #9
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Partition Permissions

    Why need SAMBA?? It's in the same box...

  10. #10
    Junior Member
    Join Date
    Nov 2002
    Posts
    69

    Re:Partition Permissions

    He said ALL users... not only local users right?

Similar Threads

  1. Help with file permissions
    By boblucci in forum Linux - General Topics
    Replies: 3
    Last Post: 04-21-2003, 02:28 PM
  2. Permissions
    By ASCI_Blue in forum Linux - General Topics
    Replies: 1
    Last Post: 11-09-2002, 07:36 PM
  3. cd permissions
    By deepfreeze in forum Linux - General Topics
    Replies: 6
    Last Post: 08-29-2002, 03:28 PM
  4. NTFS Partition Permissions
    By Daedra in forum Linux - General Topics
    Replies: 8
    Last Post: 01-21-2002, 10:06 PM
  5. Create a 1GB partition from 10GB WinXP partition
    By gcb in forum Linux - General Topics
    Replies: 7
    Last Post: 12-14-2001, 05:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •