first, the actual mounting of the partition.
AFAIK, only root can mount partitions (a normal user has to use root powers via sudo or su).
Then, once the partition is mounted, make it readable/writable also to normal users. You could achieve this with the mount command, or else once, the partition is mounted, use dolphin in superuser mode (Suse menu->applications->system-filemanagers) and set the “properties” of the mounted dir such that normal users can also read/write into the dir.
also of i add files into the partition that i mounted as root then, the files themselves will become root’s wouldn’t they??, meaning that even if i pasted that file from that, partition anywhere else, then it i won’t be able to open it as a normal user. that would mean changing the permission of the partition is the best solution, wouldn’t it??. also after i’ve changed the permissions would i be able to mount it as normal user??
sorry to be a bother again :-(, but does this apply to encrypted partitions?? is there a way to set the permissions during the installation itself??
After mounting there is NO difference in the handling of ownership/security bits of a file within a file system compared to that in say the root / filesystem.
That means that the one who creates a file will be owner of the file (valid within* / *as well as any other mounted file system).
Somebody can only create a file inside a directory where one is allowed by the security bits (rwxrwxrwx) and ownership (user:group).
There is NO difference if this (is to) happen(s) in / or in* /home* (if that happens to be a seperate file system) or /home/mysuser/mymusic (if that happens to be a seperate file system).
Of course the owner:group of the mountpoint of the root file system (that is* /) should me root:root.
Of course the owner of the mountpoint of the home partition (/home) should be root:root*.
Of course the owner of the mountpoint of this music partition should be myuser:users, like every other file/directory within* /home/myuser* (as well as* /home/myuser* itself.
thank you so much.
i was trying to get it right for the whole of yesterday. finally i got tired and went with the partitions that the installer sugggested. now i’m planning to redo the whole partitioning also formatting my laptop :-).
as soon as i’m done i’ll try it the way you suggested and will post the result.
actually i used mount as such mentioning the name of the partition as mentioned in the fstab file. i went through some websites to get an idea of partitioning.
i’ll get the partitioning done and then i’ll post the reply.
thank you again.
thank you so much. now i’ve gotten two extra partitions and i am able to read and write files into them
i created two partitioins and mounted using mount and then changed the attributes in such a way that my normal user could write files into them :-).
its just as you explained, i have to be root to mount. also the files that i put into belong to the owners and there is no problem with the ownership.
On 2011-03-21 08:36, Rizenphoenix 2010 wrote:
> Thank you sooooo much :-)…
> also of i add files into the partition that i mounted as root then, the
> files themselves will become root’s wouldn’t they??,
> after i’ve changed the permissions would i be able to mount it as normal
> sorry to be a bother again :-(, but does this apply to encrypted
> is there a way to set the permissions during the
> installation itself??
You need to read documentation on how linux manages permissions. Any linux
or unix book will do.
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)