Results 1 to 4 of 4

Thread: Do not have premission to write to internal media?

  1. #1

    Default Do not have premission to write to internal media?

    I have a 190gig data partition on my hard drive and it mounted just fine (gave it my password and it appeared in nautilus) how ever I have to be root to send files to it... Why is this and how can I change it so my default user can also write files to it as normal?

    Thanks,
    ~Jeff
    Sager - 2.8gzh p9700 - 4 gigs DDR3 - nVidia 260m - 320gig HDD - Linux 64bit
    Asus EEE 900A - Atom 1.6ghz - 2gigs DDR2 - 32gig SSD - Ubuntu 32bit

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,954

    Default Re: Do not have premission to write to internal media?

    Who is the owner of the mount point? What are the access bits there?
    Henk van Velden

  3. #3

    Default Re: Do not have premission to write to internal media?

    The owner of the mount is who ever the default owner is when I select the drive in "computer". What are "access bits"?

    ~Jeff
    Sager - 2.8gzh p9700 - 4 gigs DDR3 - nVidia 260m - 320gig HDD - Linux 64bit
    Asus EEE 900A - Atom 1.6ghz - 2gigs DDR2 - 32gig SSD - Ubuntu 32bit

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,954

    Default Re: Do not have premission to write to internal media?

    You might be interested in reading this: SDB:Basics of partitions, filesystems, mount points - openSUSE

    If you do not know where your partitions are mounted do:
    Code:
    mount
    it shows what partitions are mounted where and with what options.

    Access bits are the bits that belonging to a directory/file and that say who may do what with them. The who part of this is user,group, others (or world), and the what part is read, write, execute/search. You see them when you do ls -l command of a file. E.g.
    Code:
    henk@boven:~> ls -ld /home/wij
    drwxrwxr-x 10 henk wij 4096 jun 21 18:07 /home/wij
    henk@boven:~>
    (the d is added because /home/wij is a directory, wthout the d it would show all the files inside the directory).
    I showed this from my system because /home/wij happens to be a mount point. It shows that it is owned by the user henk and that the group wij is also connected to it. The drwxrwxrwx part shows:
    1) the d that it is a directory
    2) the first rwx that the owner (henk in this case) may read. write and search in the directory;
    3) the second rwx that users that are member of group wij may also read/write/search;
    4) the third r-x that other users may read and search, but not write.
    This is a very important concept in Unix/Linux.

    When e.g.the mountpoint is something like:
    Code:
    drwxrwx--- 2 root root .... /your/mount/point
    only root can do anything inside the directory, irrespective if the contents is there because of it being a mount point or not.
    Henk van Velden

Posting Permissions

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