|
[02:44] <msdaisy> hello all, I'm studying linux permissions and I don't understand how you would see this: -rwsr-S--t. I would only expect this: -rw-r----- What command would you use to get the first result? |
|
[02:44] <msdaisy> I know ls -l will give you the second result. |
|
[02:47] <escott> msdaisy, i think thats setuid, setgid and sticky bit |
|
[02:47] <msdaisy> yes it is. But how do you get bash to report that? |
|
[02:48] <escott> msdaisy, stat? |
|
[02:49] <msdaisy> is there a variable that goes with stat? because I just get the expected result with stat. |
|
[02:50] <escott> msdaisy, i dont understand what you want exactly |
|
[02:50] <msdaisy> I don't either- that's probably the problem :) |
|
[02:50] <escott> msdaisy, are you asking how you would go about chmod'ding a file to make it that set of permissions? |
|
[02:51] <msdaisy> When would I see -rwsr-S--t ? Why wouldn't I just see rwx only? I'm getting this from here: http://content.hccfl.edu/pollock/aunix1/filepermissions.htm just above the "Files" section. |
|
[02:52] <escott> msdaisy, so the lowercase s means setuid/setgid non-executable, the capital S means setuid/setgid and executable |
|
[02:52] <escott> iirc |
|
[02:54] <msdaisy> how is that different from ---x or ----? |
|
[02:54] <escott> msdaisy, you want to know what setuid/gid do? |
|
[02:54] <msdaisy> yes. |
|
[02:55] <escott> depends on it being a file or folder |
|
[02:55] <escott> on files that are marked S meaning setuid and executable the file executes with the uid/gid of the owner. so this is used for things like "mount" |
|
[02:56] <msdaisy> ah, setuid is used to temporarily elevate privileges too. |
|
[02:56] <escott> which allows non-priviledged users to perform priviledged operations (subject to the restrictions of the application in the mount case entry must be in the fstab) |
|
[02:57] <escott> msdaisy, inspecting ls -l `which mount` shows im wrong. maybe s means setuid without executable |
|
[02:58] <msdaisy> The SUID bit displays as an "S" in the owner's execute column of the output. If the execute bit is also set then an "s" is used. (from the link I posted) |
|
[03:00] <msdaisy> thanks for the help escott , I will continue to read. |
|
[03:01] <escott> on folders it means that new files get set to the same permissions |
|
[03:02] <escott> msdaisy, im not sure when you would ever have setuid/gid without execute, or what that would mean |
|
[03:34] <msdaisy> escott, that's what was confusing me. I think i just need to read more about setuid/gid in general. |
|
[03:34] <escott> msdaisy, my guess is the capital S is to indicate "you probably got this wrong and want something else" |
|
[05:41] <Matpick> Hello, a beginner here, having some issues installing Ubuntu anyone here willing to help me out? |
|
[05:42] <nothingspecial> well I'm in here |
|
[05:42] <nothingspecial> lol |
|
[05:42] <nothingspecial> what's up Matpick |
|
[05:43] <Matpick> Well I formated my disk getting rid of Windows and wanting to install Ubuntu only |
|
[05:43] <nothingspecial> ok |
|
[05:43] <Matpick> now i ran it with the disc when i go and click install its telling me I dont have 4.4 GB of space to install Ubuntu |
|
[05:43] <Matpick> My hdd is 1TB |
|
[05:44] <nothingspecial> is it unallocated space or is there a partition there |
|
[05:44] <Matpick> Kind of stuck now since I can only run ubuntu using CD and Windows is also gone |
|
[05:44] <Matpick> Im not really sure, I formated it using the Windows 7 Install Disc :/ which I know isnt the right way to do it |
|
[05:44] <nothingspecial> press the super (windows key) and start typing "gparted" |
|
[05:45] <nothingspecial> open the gparted partition editor and have a look at what you've got |
|
[05:45] <Matpick> Yeah I tried GParted after Googling it but that says no devices detected. |
|
[05:46] <wilee-nilee> Matpick, hit alt-f2 then type unity --reset then try again, if this is a ubuntu cd |
|
[05:46] <Matpick> Didnt want to ask any dumb questions so I have been on google trying to fix this for at least two hours but im stuck.. |
|
[05:46] <nothingspecial> can you see the drive from the live cd at all? |
|
[05:46] <wilee-nilee> unity has a habit of being mucked up |
|
[05:47] <Matpick> typed it, screen was blinking for a little bit now im back |
|
[05:47] <stlsaint> i dont think thats the issue. That 1TB is formatted wrong possibly |
|
[05:47] <Matpick> Ran GParted again still no devices detected |
|
[05:48] <Matpick> I do think my 1TB might be wrongly formated.. not sure how I can fix that though |
|
[05:48] <nothingspecial> press Ctrl-Alt-T to run a terminal and type |
|
[05:48] <nothingspecial> sudo fdisk -l |
|
[05:48] <nothingspecial> it'll ask for a password, just hit enter |
|
[05:49] <nothingspecial> can you see your drive listed? |
|
[05:49] <Matpick> dont think so |
|
[05:50] <Matpick> i see bunch of letters like b c h u v etc. and with some text next to it but nothing that looks like my drive |
|
[05:50] <Matpick> b <size> sector size (512, 1024, 2048 or 4096) |
|
[05:50] <Matpick> that type of thing |
|
[05:51] <Matpick> fdisk [options] <disk> change partition table |
|
[05:51] <nothingspecial> silly, obvious question coming |
|
[05:51] <nothingspecial> you sure it's connected correctly? |
|
[05:52] <Matpick> Well I had Windows on it just hour ago and computer was working fine |
|
[05:52] <stlsaint> Matpick: are you using one or two drives? |
|
[05:52] <Matpick> only one |
|
[05:52] <Matpick> Single 1TB drive |
|
[05:53] <stlsaint> Matpick: do you mind installing a application called pastebinit? |
|
[05:54] <Matpick> i guess not, what does it do |
|
[05:54] <stlsaint> just gonna allow us to see your command outputs |
|
[05:54] <stlsaint> via a website |
|
[05:54] <Matpick> I was reading something on the net about the way driveis conected something about SATA and SATAIII or something but I dont understand it |
|
[05:54] <Matpick> sure ill google it now |
|
[05:54] <stlsaint> Matpick: SATA is fine. As long as you dont have multiple |
|
[05:55] <stlsaint> Matpick: no google needed |
|
[05:55] <stlsaint> Matpick: open a terminal and enter: sudo apt-get install pastebinit |
|
[05:55] <nothingspecial> sudo apt-get install pastebinit |
|
[05:55] <nothingspecial> in your terminal, again just enter throught the password |
|
[05:55] <stlsaint> nothingspecial: tsk tsk...to slow lol |
|
[05:55] <Matpick> ok done |
|
[05:56] <stlsaint> Matpick: in terminal enter: |
|
[05:56] <stlsaint> Matpick: sudo fdisk -l |
|
[05:56] <stlsaint> sorry |
|
[05:56] <stlsaint> Matpick: sudo fdisk -l | pastebinit |
|
[05:56] <stlsaint> and paste the url you get here |
|
[05:56] <nothingspecial> then paste url here |
|
[05:56] <nothingspecial> :) |
|
[05:56] <stlsaint> nothingspecial: lol thats twice ;) |
|
[05:56] <stlsaint> quick on the keys lol |
|
[05:57] <stlsaint> Matpick: just copy and paste the output here |
|
[05:57] <Matpick> Cant im on the different computer at the moment |
|
[05:57] <Matpick> On the laptop |
|
[05:57] <Matpick> But I guess I can relog on the one running ubuntu |
|
[05:57] <stlsaint> o_O |
|
[05:57] <nothingspecial> come back from the live cd |
|
[05:58] <stlsaint> does the ubuntu computer have internet? |
|
[05:58] <nothingspecial> but I have to go to work |
|
[05:58] <nothingspecial> I'll have to leave you in these capable hands |
|
[05:58] <stlsaint> ha |
|
[05:58] <Matpick> yeah im on the net on it |
|
[05:58] <nothingspecial> hope you get it sorted Matpick :) |
|
[05:59] <Matpick> Thanks for your help |
|
[05:59] <MatpickUbuntu> Ok on ubuntu comp now |
|
[05:59] <stlsaint> MatpickUbuntu: well no need for Matpick now |
|
[05:59] <MatpickUbuntu> yeah just want to be on incase something stuffs up with this ne |
|
[06:00] <stlsaint> MatpickUbuntu: arlight paste that url from the commdn |
|
[06:00] <stlsaint> command |
|
[06:00] <MatpickUbuntu> Yeah, it said pastebinit is not located |
|
[06:00] <stlsaint> that means you didnt install it |
|
[06:00] <stlsaint> MatpickUbuntu: sudo apt-get install pastebinit |
|
[06:01] <MatpickUbuntu> I |
|
[06:01] <MatpickUbuntu> Yup doneit again now its sayig unable to locate package pastebinit |
|
[06:02] <stlsaint> alright screw it, just paste the output into paste.ubuntu.com and send url here |
|
[06:02] <stlsaint> MatpickUbuntu: paste output of command: sudo fdisk -l |
|
[06:02] <MatpickUbuntu> is that - L ? or 1 |
|
[06:03] <stlsaint> lowercase |
|
[06:03] <MatpickUbuntu> yeah it doesnt do anything |
|
[06:04] <stlsaint> no space between the - and l |
|
[06:04] <stlsaint> fdisk -l |
|
[06:04] <stlsaint> sudo fdisk -l |
|
[06:04] <MatpickUbuntu> ubuntu@ubuntu:~$ sudo fdisk -l ubuntu@ubuntu:~$ |
|
[06:05] <stlsaint> MatpickUbuntu: enter command: sudo lshw -C disk |
|
[06:05] <MatpickUbuntu> CPUID |
|
[06:05] <stlsaint> MatpickUbuntu: paste output in paste.ubuntu.com |
|
[06:05] <MatpickUbuntu> Doing it now |
|
[06:06] <MatpickUbuntu> http://paste.ubuntu.com/1036681/ |
|
[06:10] <stlsaint> MatpickUbuntu: considering that linux does not see your drive im thinking you will need to re-format with a boot disk |
|
[06:11] <MatpickUbuntu> Will I be able to burn it since im running ubuntu through a disc? |
|
[06:11] <stlsaint> MatpickUbuntu: you said you had another computer right? |
|
[06:11] <MatpickUbuntu> MacBook AIr .. no Cd :( |
|
[06:11] <stlsaint> ok, will have to use usb than |
|
[06:12] <MatpickUbuntu> Got plenty of those |
|
[06:13] <stlsaint> MatpickUbuntu: i am a personal fan of UBCD |
|
[06:14] <stlsaint> MatpickUbuntu: download the iso from one of the mirrors listed below and use a application called unetbootin to install to usb |
|
[06:14] <stlsaint> sudo apt-get install unetbootin |
|
[06:14] <stlsaint> MatpickUbuntu: here is UBCD site: http://www.ultimatebootcd.com/download.html |
|
[06:15] <stlsaint> MatpickUbuntu: if that CD cant get your drive to a read ready state with fat32 or ntfs format than nothing will :) |
|
[06:15] <stlsaint> MatpickUbuntu: 1. Download from site UBCD ISO |
|
[06:16] <stlsaint> MatpickUbuntu: 2. In ubuntu open terminal and enter: sudo apt-get install unetbootin |
|
[06:16] <stlsaint> MatpickUbuntu: 3. Plug in USB to ubuntu system and open Unetbootin from menus |
|
[06:16] <stlsaint> MatpickUbuntu: 4. Select the "Have ISO" option and ensure that /dev/sdb is listed in the usb section of unetbooin |
|
[06:17] <stlsaint> MatpickUbuntu: 5. Select the ISO from your system and start. Boot to the usb after its done and try and format that drive |
|
[06:17] <stlsaint> MatpickUbuntu: i must head to bed, 0120AM here |
|
[06:18] <MatpickUbuntu> Thanks for help mate hopefully it will work :) |
|
[06:18] <MatpickUbuntu> sudo apt-get install unetbootin .. for some reason it siad it cant find unetbootin :/ |
|
[06:18] <stlsaint> MatpickUbuntu: if not just come back tomorrow, ill be here ;) |
|
[06:18] <stlsaint> >< |
|
[06:18] <stlsaint> are you sure you have internet on that system? |
|
[06:18] <MatpickUbuntu> Im on it now |
|
[06:18] <MatpickUbuntu> Writing from it |
|
[06:18] <stlsaint> your not joshing me?? o_O |
|
[06:18] <stlsaint> oh alright |
|
[06:19] <MatpickUbuntu> Im not |
|
[06:19] <MatpickUbuntu> Full 100% serious.. its frustrating me :( |
|
[06:19] <MatpickUbuntu> ubuntu@ubuntu:~$ sudo apt-get install unetbootin |
|
[06:19] <stlsaint> ah forgot you may have to enable the sources. |
|
[06:19] <MatpickUbuntu> How do I do that |
|
[06:20] <stlsaint> you see that bar to your right |
|
[06:20] <stlsaint> aye left |
|
[06:20] <MatpickUbuntu> Yup |
|
[06:20] <stlsaint> hit the top ubuntu symbol button and type in update manager |
|
[06:21] <stlsaint> MatpickUbuntu: give me a sec, booting up vm |
|
[06:22] <MatpickUbuntu> yup |
|
[06:22] <MatpickUbuntu> found the thing and opened it |
|
[06:24] <stlsaint> ok you should see a option that says: CD-ROM |
|
[06:26] <MatpickUbuntu> I have Settings, Check, Install Updates and Close |
|
[06:26] <stlsaint> nope, one sec |
|
[06:26] <stlsaint> MatpickUbuntu: hit settings button |
|
[06:27] <stlsaint> MatpickUbuntu: Click first tab, "Ubuntu Software" |
|
[06:27] <stlsaint> select the "Main" |
|
[06:27] <stlsaint> MatpickUbuntu: then hit close |
|
[06:27] <MatpickUbuntu> Yup |
|
[06:28] <MatpickUbuntu> E: Unable to locate package unetbootin |
|
[06:28] <stlsaint> MatpickUbuntu: did everything reload? Packages should have reloaded |
|
[06:29] <stlsaint> MatpickUbuntu: screw it, easypeasy, go here, hit download button |
|
[06:29] <stlsaint> http://unetbootin.sourceforge.net/ |
|
[06:29] <stlsaint> for linux |
|
[06:30] <MatpickUbuntu> there we go, so that will help me make that USB bootable right? |
|
[06:30] <stlsaint> yep, follow the directions on that site |
|
[06:30] <stlsaint> MatpickUbuntu: see on that site scroll down to the first pic where it says Diskimage |
|
[06:30] <stlsaint> the second radial button on the pic |
|
[06:31] <MatpickUbuntu> ok newbie questions.. i cant open the unebooting program i downloaded =/ |
|
[06:31] <stlsaint> MatpickUbuntu: make sure to select the ubcd iso there and where it says Type: make sure your USB shows up where you see C;\ |
|
[06:31] <stlsaint> MatpickUbuntu: lol |
|
[06:32] <stlsaint> MatpickUbuntu: open terminal: cd Downloads && sudo dpkg -i unetbootin.blah.blah |
|
[06:32] <stlsaint> whatever the file is |
|
[06:32] <MatpickUbuntu> is there a way i can share my screen or something haha im such an idiot i know |
|
[06:32] <MatpickUbuntu> Could not display "/home/ubuntu/Downloads/unetbootin-linux-575". |
|
[06:33] <stlsaint> MatpickUbuntu: lol why are you trying to display |
|
[06:33] <stlsaint> MatpickUbuntu: first command: cd Downloads |
|
[06:33] <stlsaint> MatpickUbuntu: then enter: sudo dpkg -i unetbootin-linux-575 |
|
[06:33] <stlsaint> MatpickUbuntu: better yet right click the unetbootin file and choose install with software center |
|
[06:34] <MatpickUbuntu> Errors were encountered while processing: unetbootin-linux-575 |
|
[06:34] <MatpickUbuntu> i swear i have the worst luck :( |
|
[06:35] <stlsaint> lol naw, you see on that site it has a button for MAC :D |
|
[06:35] <stlsaint> MatpickUbuntu: dont you have a MAC ;) |
|
[06:35] <MatpickUbuntu> i should do it on my mac, good idea :D |
|
[06:35] <MatpickUbuntu> my first linux ecperiences not so great :P but i wont give up |
|
[06:35] <stlsaint> MatpickUbuntu: naw its this TB drive format issue |
|
[06:36] <stlsaint> MatpickUbuntu: nothing at ubuntu's fault |
|
[06:37] <MatpickUbuntu> I know |
|
[06:37] <stlsaint> MatpickUbuntu: you got it from here? |
|
[06:37] <stlsaint> MatpickUbuntu: wait, one more link |
|
[06:38] <stlsaint> MatpickUbuntu: http://www.ultimatebootcd.com/index.html |
|
[06:39] <stlsaint> MatpickUbuntu: what you want is under the Hard Disk tools, on that link scroll down to the Partition management block |
|
[06:39] <MatpickUbuntu> yeah |
|
[06:39] <stlsaint> all the apps at your fingertips |
|
[06:39] <stlsaint> MatpickUbuntu: alright man hope it works out, im sure you will enjoy ubuntu |
|
[06:39] <stlsaint> MatpickUbuntu: later man |
|
[06:40] <MatpickUbuntu> see ya |
|
[06:40] <MatpickUbuntu> thanks for the help |
|
[06:41] <stlsaint> no prob |
|
[08:06] <tenach> o. |
|
[08:06] <tenach> o/ |
|
[15:52] <bobweaver> Hello there I will be teaching a Class On How to find some troubles that you read about on the Ubuntu Forums and fixes ,How to make Packages (Debian) For these Troubles. Think about it as a crash cource in packaging. What we will be doing. We will be looking a a b43 driver(wireless broadcom) and the awaful "missing firmware" Bug. There is a fix for this on the forums But I think it would be best If There where Pacakages for theses |
|
[15:52] <bobweaver> Fixs. Who knows maybe a team might form to bring Ubuntu Forums and Ubuntu Motu closer. Things that are needed Teamvier you can get deb for that here. http://www.teamviewer.com/en/download/index.aspx |
|
[15:53] <bobweaver> Other tools that are needed |
|
[15:53] <bobweaver> ubuntu-dev-tools , dpkg-dev, dh-make, |
|
[15:53] <bobweaver> WHEN June 14th 2012, 11:30 am 0700 UDT too 1pm |
|
[15:53] <bobweaver> WHERE #ubuntu-classroom |
|
[15:53] <Meridious> cool story bro |
|
[16:14] <SergioMeneses> bobweaver, great!... |
|
[16:18] <bobweaver> SergioMeneses, hope to see you there :) |
|
[16:19] <SergioMeneses> bobweaver, me too xD |
|
[16:19] <SergioMeneses> if I don't have to work I will be present ;) |
|
[16:54] <raubvogel> bobweaver: I myself will probably be there |
|
[16:54] <bobweaver> Good news then |
|
[19:11] <Dandaman3452_> have problem with ext4 filesystem ,sorry for outlinking but this will explain best without spaming http://www.reddit.com/r/Ubuntu/comments/uy72d/help_needed_not_a_noob/ |
|
[19:18] <Dandaman3452_> Bump ^ |
|
[19:20] <philipballew_> must be a forums person |
|
[20:55] <Meridious> So how is everybody today? |
|
=== SkippersBoss_ is now known as Skippersboss |
|
|