/srv/irclogs.ubuntu.com/2011/06/06/#ubuntu-za.txt

sakhimorning06:58
superflyheya sakhi07:01
sakhisuperfly: how is it going?07:54
sakhiMaaz: forecast Cape Town07:54
Maazsakhi: Sunday: Chance of a Thunderstorm. High: 16° C., Sunday Night: Chance of a Thunderstorm. Low: 9° C., Monday: Chance of a Thunderstorm. High: 14° C., Monday Night: Partly Cloudy. Low: 10° C., Tuesday: Partly Cloudy. High: 17° C., Tuesday Night: Mostly Cloudy. Low: 15° C., Wednesday: Partly Cloudy. High: 17° C., Wednesday Night: Partly Cloudy. Low: 11° C., Thursday: Partly Cloudy. High: 18° C., Thursday Night: Partly Cloudy. Lo07:54
kbmonkeymorning ubuntu-za07:57
superflyhey sakhi, cold, but OK07:57
kbmonkeywe need a geeky joke to start this week07:58
kbmonkey"File not found. Should I fake it? (Y/N)" :D08:01
OwkkuriThe great thing about TCP jokes is that you always get them.08:29
cocooncrashthe punchline sometimes arrives first. The problem with UDP jokes is that08:30
* kbmonkey keels over!08:31
Kilosmorning superfly and friends of ubuntu08:31
Kiloslo kbmonkey 08:31
Kiloswassup08:31
kbmonkeyawe wow those are so funny!08:34
* kbmonkey wi-fives Owkkuri and cocooncrash 08:35
OwkkuriP08:35
cocooncrashMaaz: http://twitter.com/#!/mgorven/status/7738285639716864108:36
Maazcocooncrash: afernandez: "FTP Joke Incoming - Please see my other Twitter account for the Actual Joke #protolol"08:36
kbmonkey+1 for #protolol hashtag 08:56
Squirmhello09:36
Squirmanyone here know about samba and it's file permissions09:37
kbmonkeyhi squirm09:47
kbmonkeywhat about the permissions?09:48
kbmonkeythe samba docs and tuts are huge I only touched on some of them09:55
queerymaaz, coffee on10:02
* Maaz puts the kettle on10:02
MaazCoffee's ready for queery!10:06
Squirmkbmonkey: well, I want an excel file to have read/write permissions for all users. But as soon as a user edits the file, it changes the file permissions10:07
queerymaaz, ty10:08
MaazEnjoy queery10:08
kbmonkeyhello queery 10:09
queeryhi kbmonkey 10:09
kbmonkeyexcel, squirm? well excel locks the files you open so only one preson can edit it at a time. 10:10
kbmonkeythat's not a samba issue, that is Excel being neurotic10:10
Squirmno, no10:10
Squirmlook10:10
Squirm-rwxrwxrwx 1 shan     users  41472 Jun  1 10:23 Grade 1 - Shan.xls10:11
Squirmthats what it should like10:11
Squirmbut10:11
Squirm-rwxr--r-- 1 joanine  users  53760 Jun  6 10:20 Grade 3 - Kirsten.xls10:11
Squirmthats what it looks like after joanine edits it10:11
kbmonkeyah10:11
kbmonkeyokay I see10:12
superflySquirm: check the umask of files in the config, I think you can set it there somewhere10:12
Squirmand in smb.conf, I have these10:12
Squirmcreate mask = ugo=rwx10:12
Squirmdirectory mask = ugo=rwx10:12
Squirmforce group = users10:12
Squirm        force directory mode = ugo=rwx10:12
Squirm        force create mode = ugo=rwx10:12
* superfly hasn't used samba in years10:12
Squirmand it used to be 777710:13
kbmonkeyyes you need to set the default permission10:13
superflySquirm: isn't there a write mask as well?10:13
kbmonkeyusually files keep their permissions. I bet excel is recreating the file which recreates the default ro permission10:13
Squirmthats why I put create mode10:14
Squirmand create mask10:14
kbmonkeytry write mask as superfly said10:14
kbmonkeylong shot but try use the 'mask = 0777' format instead of ugo=rwx10:19
Squirmok10:21
Squirmlets see10:21
Squirmok10:26
Squirmnew problem10:26
Squirmthe user can't write to the file, if they don't have ownership10:27
Squirmyet the rw permissions are 077710:27
Squirmyet the user Joanine can10:27
Squirmbleh10:27
kbmonkeyI had the same problem on my HTPC where copying files over the network changed ownership :/10:27
Squirmit changes ownership, but all users are on users10:28
Squirmin users*10:28
kbmonkeyI think samba has it's own user (default nobody)10:28
SquirmI made it force group users10:29
Squirmas well10:29
kbmonkeyif you restart the smbd service make sure the clients (your pc's) remount the share too10:29
superflySquirm: if you force user, doesn't that negate the user themselves?10:29
kbmonkeyto reload the permissions10:29
kbmonkeyso did create mask = 0777 let it write the file at least?10:31
Squirmno10:32
Squirmit won't let me write to the file, when the owner is joanine10:32
Squirmyet the permission are 077710:32
Squirmexcel just throws, "Access Denied. Contact Administrator"10:33
Squirmso I chown trish:users10:33
Squirmaand it works10:33
kbmonkeyis one person editing over the network and another on the pc itself?10:34
superflykbmonkey: they can't, they're both Windows users ;-)10:34
kbmonkeyIm not a samba fundi myself ;)10:35
Squirmits stored on a debian server10:36
kbmonkeyit sounds like each user uses a different samba account 10:36
Squirmim logged into the server via ssh10:36
Squirmand each user has a samba account10:36
SquirmI'm at a school, all the teachers have a username and password to map the network drive, where they have to edit these files10:37
kbmonkeyhave a look here squirm http://www.cyberciti.biz/tips/how-do-i-set-permissions-to-samba-shares.html10:38
kbmonkeyalso shows there adding valid users to a share, that may help10:38
SquirmI'm sure I set samba to use linux directory permissions10:39
kbmonkeylinux permissions take precedence over samba permissions, that seems to be conflicting10:39
SquirmI'm really confused10:45
kbmonkeysamba does that to me too squirm :/10:56
kbmonkeywe need samba experts, have you tried their forums and mailing list?10:57
Squirmbut why does it not work, yet all the users are in the group users11:05
Squirmand the file permission is 077711:05
SquirmDIE11:05
kbmonkeysorry Squirm wish I knew the answer for you!11:12
kbmonkeygoogling gives many answers but all variations of the problem and the rest say what you have tried11:12
Squirmkbmonkey: I think I sorted it out11:16
Squirmthey were in the directory attendance, which ended in the t dir permission. so maybe they could only edit it because they had ownership11:17
Squirmotherwise because only joanine could change the permissions, it wouldnt work11:17
kbmonkey:)11:19
Squirmso I think11:20
Squirmits done11:20
* Squirm edits the file with joanine11:20
kbmonkeyIm too clear on what you mean by 'directory attendance'?11:24
Squirm2kbmonkey: the directory, 'attendance'13:08
Squirm2but it seems the problem has now been sorted13:08
kbmonkeyoh that's good Squirm!13:17
KilosPaddy's in jail.  The Guard looks in his cell and see's him hanging by his feet. 16:59
Kilos"What are you doing?" he asks. 16:59
Kilos"Hanging myself," Paddy replies. 16:59
Kilos"It should be round your neck," says the guard. 16:59
Kilos"I tried that," says Paddy, "but I couldn't breathe." 16:59
KilosMaaz, coffee on17:00
* Maaz washes some mugs17:00
MaazCoffee's ready for Kilos!17:04
KilosMaaz, gracias amigo17:04
Maaz¡de nada compadre17:04
Kilosany grub experts around?17:38
Kiloshttp://slexy.org/view/s20AOgDE7J17:38
Kilosi explained my prob and what i have done at the pastebin17:42
superflytumbleweed: ping17:49
superflyKilos: you only need 1 swap partition between multiple installations17:49
superflywhy do you have 4?17:50
Kilossuperfly, the installations made them on their own17:50
Kilosi didnt make my own partitions17:50
Kilosalso now there is about 50g of the drive split into the extra installations17:51
Kilosalso i bangerig to delete the swaps and make one just yet17:52
Kilosif i can remove the last 2 mavericks alongside then i will worry about swap17:52
Kilosand also is it safe to make the new swap with gparted17:57
Kiloshehe gparted shows what a mess the drive is in even though its working lekker18:01
Kilosdunno where to send a screenshot18:01
queerylooking for a job in sciences and stumbled on to this: http://www.pnet.co.za/index.php?s=advert_view&g=3002&x=2187336&i=7007&pop=118:24
kbmonkey_I really want a tux logo on my netbook win key19:58
Kilosnight all sleep tight and warm21:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!