[06:58] morning [07:01] heya sakhi [07:54] superfly: how is it going? [07:54] Maaz: forecast Cape Town [07:54] sakhi: 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. Lo [07:57] morning ubuntu-za [07:57] hey sakhi, cold, but OK [07:58] we need a geeky joke to start this week [08:01] "File not found. Should I fake it? (Y/N)" :D [08:29] The great thing about TCP jokes is that you always get them. [08:30] the punchline sometimes arrives first. The problem with UDP jokes is that [08:31] * kbmonkey keels over! [08:31] morning superfly and friends of ubuntu [08:31] lo kbmonkey [08:31] wassup [08:34] awe wow those are so funny! [08:35] * kbmonkey wi-fives Owkkuri and cocooncrash [08:35] P [08:36] Maaz: http://twitter.com/#!/mgorven/status/77382856397168641 [08:36] cocooncrash: afernandez: "FTP Joke Incoming - Please see my other Twitter account for the Actual Joke #protolol" [08:56] +1 for #protolol hashtag [09:36] hello [09:37] anyone here know about samba and it's file permissions [09:47] hi squirm [09:48] what about the permissions? [09:55] the samba docs and tuts are huge I only touched on some of them [10:02] maaz, coffee on [10:02] * Maaz puts the kettle on [10:06] Coffee's ready for queery! [10:07] kbmonkey: 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 permissions [10:08] maaz, ty [10:08] Enjoy queery [10:09] hello queery [10:09] hi kbmonkey [10:10] excel, squirm? well excel locks the files you open so only one preson can edit it at a time. [10:10] that's not a samba issue, that is Excel being neurotic [10:10] no, no [10:10] look [10:11] -rwxrwxrwx 1 shan users 41472 Jun 1 10:23 Grade 1 - Shan.xls [10:11] thats what it should like [10:11] but [10:11] -rwxr--r-- 1 joanine users 53760 Jun 6 10:20 Grade 3 - Kirsten.xls [10:11] thats what it looks like after joanine edits it [10:11] ah [10:12] okay I see [10:12] Squirm: check the umask of files in the config, I think you can set it there somewhere [10:12] and in smb.conf, I have these [10:12] create mask = ugo=rwx [10:12] directory mask = ugo=rwx [10:12] force group = users [10:12] force directory mode = ugo=rwx [10:12] force create mode = ugo=rwx [10:12] * superfly hasn't used samba in years [10:13] and it used to be 7777 [10:13] yes you need to set the default permission [10:13] Squirm: isn't there a write mask as well? [10:13] usually files keep their permissions. I bet excel is recreating the file which recreates the default ro permission [10:14] thats why I put create mode [10:14] and create mask [10:14] try write mask as superfly said [10:19] long shot but try use the 'mask = 0777' format instead of ugo=rwx [10:21] ok [10:21] lets see [10:26] ok [10:26] new problem [10:27] the user can't write to the file, if they don't have ownership [10:27] yet the rw permissions are 0777 [10:27] yet the user Joanine can [10:27] bleh [10:27] I had the same problem on my HTPC where copying files over the network changed ownership :/ [10:28] it changes ownership, but all users are on users [10:28] in users* [10:28] I think samba has it's own user (default nobody) [10:29] I made it force group users [10:29] as well [10:29] if you restart the smbd service make sure the clients (your pc's) remount the share too [10:29] Squirm: if you force user, doesn't that negate the user themselves? [10:29] to reload the permissions [10:31] so did create mask = 0777 let it write the file at least? [10:32] no [10:32] it won't let me write to the file, when the owner is joanine [10:32] yet the permission are 0777 [10:33] excel just throws, "Access Denied. Contact Administrator" [10:33] so I chown trish:users [10:33] aand it works [10:34] is one person editing over the network and another on the pc itself? [10:34] kbmonkey: they can't, they're both Windows users ;-) [10:35] Im not a samba fundi myself ;) [10:36] its stored on a debian server [10:36] it sounds like each user uses a different samba account [10:36] im logged into the server via ssh [10:36] and each user has a samba account [10:37] I'm at a school, all the teachers have a username and password to map the network drive, where they have to edit these files [10:38] have a look here squirm http://www.cyberciti.biz/tips/how-do-i-set-permissions-to-samba-shares.html [10:38] also shows there adding valid users to a share, that may help [10:39] I'm sure I set samba to use linux directory permissions [10:39] linux permissions take precedence over samba permissions, that seems to be conflicting [10:45] I'm really confused [10:56] samba does that to me too squirm :/ [10:57] we need samba experts, have you tried their forums and mailing list? [11:05] but why does it not work, yet all the users are in the group users [11:05] and the file permission is 0777 [11:05] DIE [11:12] sorry Squirm wish I knew the answer for you! [11:12] googling gives many answers but all variations of the problem and the rest say what you have tried [11:16] kbmonkey: I think I sorted it out [11:17] they were in the directory attendance, which ended in the t dir permission. so maybe they could only edit it because they had ownership [11:17] otherwise because only joanine could change the permissions, it wouldnt work [11:19] :) [11:20] so I think [11:20] its done [11:20] * Squirm edits the file with joanine [11:24] Im too clear on what you mean by 'directory attendance'? [13:08] kbmonkey: the directory, 'attendance' [13:08] but it seems the problem has now been sorted [13:17] oh that's good Squirm! [16:59] Paddy's in jail. The Guard looks in his cell and see's him hanging by his feet. [16:59] "What are you doing?" he asks. [16:59] "Hanging myself," Paddy replies. [16:59] "It should be round your neck," says the guard. [16:59] "I tried that," says Paddy, "but I couldn't breathe." [17:00] Maaz, coffee on [17:00] * Maaz washes some mugs [17:04] Coffee's ready for Kilos! [17:04] Maaz, gracias amigo [17:04] ¡de nada compadre [17:38] any grub experts around? [17:38] http://slexy.org/view/s20AOgDE7J [17:42] i explained my prob and what i have done at the pastebin [17:49] tumbleweed: ping [17:49] Kilos: you only need 1 swap partition between multiple installations [17:50] why do you have 4? [17:50] superfly, the installations made them on their own [17:50] i didnt make my own partitions [17:51] also now there is about 50g of the drive split into the extra installations [17:52] also i bangerig to delete the swaps and make one just yet [17:52] if i can remove the last 2 mavericks alongside then i will worry about swap [17:57] and also is it safe to make the new swap with gparted [18:01] hehe gparted shows what a mess the drive is in even though its working lekker [18:01] dunno where to send a screenshot [18:24] looking 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=1 [19:58] I really want a tux logo on my netbook win key [21:50] night all sleep tight and warm