Page 1 of 1

permissions...

Posted: 31 Jul 2015, 15:11
by sedstar
okay, so i got a USB drive, and got it formatted as ext4... for linux use...

its practically useless. Permissions.

i thought when i was logged in as "root", i was like a GOD... you know, I can do whatever i WANT to... the system even displays the cool warning disclaimer "caution... you are ROOT, you could damage something"...

root is a nice CONCEPT? But it doesnt hold a candle to these permissions, lol... i managed to get a few things onto the USB i wanted to, by flitting around between several live LIN versions... the change permissions menus are blocked out for me too...

how in the &^%$ can i possibly not "be the owner of" my own USB drive, lol...

===========================================================

what menu option lets me do whatever i WANT to... i thought root gave me that... :wall:

Re: permissions...

Posted: 31 Jul 2015, 15:25
by beny
hi you can use this menu to login in init 3 so root toor ,and your changes saved,the gui menu login in init 4 and default user is guest,btw you can use console: su and root password if you want and guest become root.
LABEL text
MENU LABEL Text mode
KERNEL vmlinuz
APPEND initrd=initrd.xz 3 changes=/porteus
TEXT HELP
Run Porteus in text mode and
start the command prompt only
ENDTEXT

Re: permissions...

Posted: 31 Jul 2015, 17:22
by sedstar
(i honestly didnt understand your answer)


uhm... I'm ALREADY root...

since i am ROOT, why "cant" i change permissions of my USB drive let me use my own USB drive?

i thought when i was logged in as root, i was able to do anything. I cant even copy and paste files on my own USB drive, lol...

Re: permissions...

Posted: 31 Jul 2015, 19:10
by Ed_P
An ext4 problem??

Re: permissions...

Posted: 31 Jul 2015, 19:31
by Bogomips
Sometimes had that problem myself. Could not do anything with a file on the usb drive, until one day used a file manager, which seemed to do the trick. But that was only one file. Only other thing I can think of is that you do not have write permission, a problem which I recently met. Then as root open terminal and do the following:
  1. Stick in the usb
  2. Code: Select all

    fdisk -l
    Gets device name. In my case /dev/sdb1
  3. Code: Select all

    umount /dev/sdb1    # If error message comes up, ignore and continue.
    mkdir usb
    mount /dev/sdb1 usb
    (using your usb device name)
  4. Check permission of USB like so:

    Code: Select all

    guest@porteus:~$ ls -ld usb
    drwxr-xr-x 17 root root 16384 Jan  1  1970 usb/
    beginning with 'drwx'
  5. Change permission for all files:

    Code: Select all

    chmod -R u+w usb/*
    umount usb
Permission now changed to write, so should be able to write to all files on usb. 8)

Should at least eliminate any read permission problem. Re-insert usb and check.

Re: permissions...

Posted: 31 Jul 2015, 21:12
by francois
@sedstar:
You got root from guest mode in command line. You booted root directly with the login cheatcode login=root. What do you mean you are root?

Re: permissions...

Posted: 01 Aug 2015, 10:06
by sedstar
okay...

when i boot (graphic or RAM) i am login=root...

i thought that made me "root" and i "owned" everyhing everywhere... just not my USB, i guess, lol.

=======================================

on other distros?

i see examples people saying to go to terminal... and launch file manager with sudo or gksudo... making a file manager window with "all access".

i did this in Zorin with some success, although i see some error messages even though it worked...

============================================

if anyone wonder what i am doing? i am trying to do "easy2boot" multiple distro's on one big USB thumb drive...

I can easily accomplish it in WINdoze... but only with NTFS or FAT32... i am trying to do it in linux, with USB formatted for ext4 or now ext2... my main impediment is permissions, on both the zorin-downloaded zip file, and the USB drive itself...

for what its worth? porteus is the only distro i have any need to use ext2 or ext4 for (easy save option).... everything else the other distros seem happy in fat or ntfs... I am just using this as an exercise to get more used to using LINUX in general.

Re: permissions...

Posted: 01 Aug 2015, 10:09
by sedstar
"sudo thunar" from the terminal window seems to be working...

sorry for being a total newb, lol...