| Author |
Message |
|
|
Post subject: [solved] Partition permissions
Posted: Nov 24, 2008 - 10:54 AM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
Good morning folks
My planned Windows install fell down completely - no technical issues involved, let's just call them outside influences. To that end, my laptop is now a sidux only machine, which quite frankly pleases me no end.
That said, I just wonder if someone can point me in the right direction with a permissions problem. I've poked around here and the manual but perhaps I missed something.
I have two fat32 areas that I'd like to copy stuff to from an external HDD.
The external drive says the user (me) has permissions to write, read, etc.
But my sda3 partition and sdb drive are both stuck on root only.
So, simple question, how can I change that?
Much obliged as always!
R |
Last edited by RichJ on Nov 24, 2008 - 08:26 PM; edited 1 time in total
|
| |
|
|
|
 |
|
|
Post subject: Partition permissions
Posted: Nov 24, 2008 - 10:58 AM
|
|
Team Member

Joined: Nov 24, 2006
Posts: 2869
Location: berlin
Status: Offline
|
|
are sda3 and sdb partitions in /etc/fstab?
if so, please show corresponding lines
greetz
devil |
_________________ >>we are sidux - resistance is futile - you will be assimilated<<
|
| |
|
|
|
 |
|
|
Post subject: Partition permissions
Posted: Nov 24, 2008 - 10:59 AM
|
|

Joined: Nov 30, 2006
Posts: 1012
Location: Nimritz / Thüringen
Status: Offline
|
|
Show us the output of:
mount
cat /etc/fstab |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 11:03 AM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
mount:
Code:
root@TM2-sidux:~# mount
/dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda2 on /home type ext3 (rw,noatime)
/dev/sdc1 on /media/CLASSIC SL type vfat (rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=lower)
cat /etc/fstab:
Code:
<filesystem> <mount point> <fstype> <mount options> <dump> <pass>
UUID=95dbc089-2132-4476-8e2f-6efcb3ce521d / ext3 defaults,errors=remount-ro,noatime 0 1
UUID=949a988b-c875-4558-92b4-122be0ad7e2c /home ext3 defaults,noatime 0 2
/dev/disk/by-uuid/629664C8099DAB6E /media/disk1part3 ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
/dev/disk/by-uuid/6C65B6F7287369CB /media/disk2part1 ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,ro,users 0 0
OK - looking at the fstype column, it shows sda3 and sdb as being ntfs, but I formatted them to fat32 using gparted this morning. *scratches head*
Thanks  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 02:15 PM
|
|
Team Member

Joined: Nov 24, 2006
Posts: 2869
Location: berlin
Status: Offline
|
|
you have to do changes in fstab manualy (other than during installation)
greetz
devil |
_________________ >>we are sidux - resistance is futile - you will be assimilated<<
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 03:03 PM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
| Cool - but what do I need to change and how? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 06:23 PM
|
|

Joined: Nov 30, 2006
Posts: 1012
Location: Nimritz / Thüringen
Status: Offline
|
|
Change:
Code:
/dev/disk/by-uuid/629664C8099DAB6E /media/disk1part3 ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
/dev/disk/by-uuid/6C65B6F7287369CB /media/disk2part1 ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
to
Code:
/dev/disk/by-uuid/629664C8099DAB6E /media/disk1part3 vfat auto,users,umask=000 0 0
/dev/disk/by-uuid/6C65B6F7287369CB /media/disk2part1 vfat auto,users,umask=000 0 0
if you think, these partitions are the correct partitions.
But i would say, the UUID has changed with the reformating in gparted, so set also the right UUID! |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 06:51 PM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
Thanks for that towol, but still showing as root only.
Here are the latest mount and /etc/fstab results:
mount:
Code:
/dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda2 on /home type ext3 (rw,noatime)
/dev/sda3 on /media/disk1part3 type vfat (rw,noexec,nosuid,nodev,umask=000)
/dev/sdb1 on /media/disk2part1 type vfat (rw,noexec,nosuid,nodev,umask=000)
fstab:
Code:
<filesystem> <mount point> <fstype> <mount options> <dump> <pass>
UUID=95dbc089-2132-4476-8e2f-6efcb3ce521d / ext3 defaults,errors=remount-ro,noatime 0 1
UUID=949a988b-c875-4558-92b4-122be0ad7e2c /home ext3 defaults,noatime 0 2
/dev/disk/by-uuid/492A-7FDD /media/disk1part3 vfat auto,users,umask=000 0 0
/dev/disk/by-uuid/492A-7FDF /media/disk2part1 vfat auto,users,umask=000 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,ro,users 0 0
I updated the UUID info as suggested too.
I also checked out Krusader in root mode and tried to change the owner/group for each drive but was told that I had inadequate permissions to do so. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 08:07 PM
|
|

Joined: Dec 01, 2006
Posts: 722
Status: Offline
|
|
My vfat partition in fstab :
Code:
/dev/disk/by-uuid/465D-45FC /media/sdb7 vfat auto,users,exec,shortname=mixed,quiet,umask=000,iocharset=utf8 0 0
|
_________________ sidux Chaos fully dist-upgraded!
kernel 2.6.27-7.slh.2-sidux-686
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 08:25 PM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
Thanks drb - i added the 'exec' part and that seemed to work. Tried by adding a test folder and copying a couple of photos over.
thanks all for your help.
And I've learned more about the innards of sidux too.
 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 24, 2008 - 10:56 PM
|
|
Joined: Nov 02, 2008
Posts: 21
Location: Athens
Status: Offline
|
|
hmmm, ok ill ask, icant help my self.
If its a sidux only machine why dont u choose a native linux FS like xfs,ext3,reserfs etc.? |
_________________ Keyboard not found. Press eny key to continue...
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 25, 2008 - 07:44 AM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
Delta, the answer to your question is very simple:
I'm a shiny new Linux user fresh out of the Windows (dis)comfort zone where I've never really had to think about any of this stuff. Or if I have thought about it, I've certainly been unable to do anything about it. Over the years, I've heard many people talk about various Linux platforms and, to be honest, I hadn't a clue what they were going on about. My own research only served to confuse me more so I stayed locked up in my little Windows bubble. Then one day a friend suggested I give sidux a try (I was sure he was having me on as I've seen several comments since suggesting that it is not an ideal choice for beginners). I took the plunge, struggled a little and then some friendly forum types helped me tread water.
Given time, I hope to be able to swim on my own, without rubber arm bands, and maybe even gain my bronze swimming certificate (or whatever the Linux equivalent is!).
With the few questions I've asked and the responses received so far, all these tips are sinking in to my head - a blank canvas if you will. I've already learned a lot in the short week since the switch!
So, bearing that in mind, is there any particular method of formatting that is generally recommended/preferred by anyone? Or are they all just better than anything that Windows could ultimately read?  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 25, 2008 - 10:11 AM
|
|
Team Member

Joined: Nov 24, 2006
Posts: 2869
Location: berlin
Status: Offline
|
|
Richj,
it can't be said generally that sidux is not for beginners. I taught sidux and its predecessor kanotix to a group of people between 60 - 70 of age in our communitycenter, most of which had near to zero computer experience. after 15 hours in 2 weeks teaching they were doing fine for their purpose (mail, internet, office).
that led me to believe that the more windows knowledge starters have (win admin syndrome) it might be hindering them.
on the other hand, if someone is interested in linux, the way it works and the freedom and reward it gives (you being the boss of your system, not the other way around, as in windows) and is willing to invest some time and a few braincells (step learning curve in the beginning) they can master it.
re filesystems: for a linux only system fat32 is not needed, ext3 is fine for that.
fat32 might be handy for external harrdisks that get carried around and connected to win boxes or for pendrives.
greetz
devil |
_________________ >>we are sidux - resistance is futile - you will be assimilated<<
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 25, 2008 - 10:48 AM
|
|

Joined: Nov 19, 2008
Posts: 31
Location: Scotland
Status: Offline
|
|
Devil, I am certainly interested in being able to fix any problems that might arise myself, rather than waiting for some MS monkey to make a fix that will, inevitably, lead to other problems further down the line. I like the idea of there being actual people that can help fix a problem too.
So yeah, I've got the time and the braincells and I'm ready to learn!
 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 25, 2008 - 11:00 AM
|
|

Joined: Dec 01, 2006
Posts: 722
Status: Offline
|
|
| I use my fat32 partition for sharing files - virtualbox and wireless networks to MS laptops |
_________________ sidux Chaos fully dist-upgraded!
kernel 2.6.27-7.slh.2-sidux-686
|
| |
|
|
|
 |
|
|
|