[Labs-l] Permissions issue

Maximilian Doerr maximilian.doerr at gmail.com
Sat Jun 4 17:50:12 UTC 2016


Agreed,

Amir, there is no set protocol for solving anything, and there is absolutely no reason to file a bug on phabricator, to learn how to use the take function.

Both the mailing list and IRC are the best places to ask for guidance which is what Huji did.

Cyberpower678
English Wikipedia Account Creation Team
ACC Mailing List Moderator
Global User Renamer

> On Jun 4, 2016, at 12:43, Amir Ladsgroup <ladsgroup at gmail.com> wrote:
> 
> Plus, If you were looking into the manuals correctly. You wouldn't have any issues: Here is the Persian manual <https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Ladsgroup/%D9%84%D8%A8%D8%B2_%D8%A8%D9%87_%D8%B2%D8%A8%D8%A7%D9%86_%D8%A2%D8%AF%D9%85%DB%8C%D8%B2%D8%A7%D8%AF> and English manual. <https://wikitech.wikimedia.org/wiki/Help:Tool_Labs#Updating_files>
> 
> Best
> 
> On Sat, Jun 4, 2016 at 8:50 PM Amir Ladsgroup <ladsgroup at gmail.com <mailto:ladsgroup at gmail.com>> wrote:
> Well, protocol of solving issues (IMO) is checking help pages, then stack overflow, then asking in IRC and the last case filing a bug in phabricator. And when you've got your answer (for example in IRC), put it in help pages to save others from going through this again in future. Mailing lists are a place to discuss (not to debug) and It's not very search-able either.
> 
> About phabricator. Don't worry to be wrong. Worst case scenario, it'll be marked as invalid but better people gets the ping instead of everyone in this mailing list (given that you add proper projects).
> 
> Best
> 
> On Sat, Jun 4, 2016 at 8:36 PM Huji Lee <huji.huji at gmail.com <mailto:huji.huji at gmail.com>> wrote:
> @Amir:
> 
> Thanks for your reply! It is not really a bug. Things are working fine, it is my knowledge that was lacking.
> 
> I would ask on IRC except IRC records are not really easy to search. I thought the records of this thread email might help someone like me in the future.
> 
> @Maximilian:
> 
> That solved my problem. Is the source code of this "take" script somewhere public? I wonder how it works.
> 
> 
> 
> On Sat, Jun 4, 2016 at 11:18 AM, Amir Ladsgroup <ladsgroup at gmail.com <mailto:ladsgroup at gmail.com>> wrote:
> And Also I suggest you to file a bug in these cases or ask in the IRC channel.
> 
> Best
> 
> On Sat, Jun 4, 2016 at 7:46 PM Maximilian Doerr <maximilian.doerr at gmail.com <mailto:maximilian.doerr at gmail.com>> wrote:
> If you are trying to make the tool the owner of the file then use “take <file>”
> 
> Cyberpower678
> English Wikipedia Account Creation Team
> ACC Mailing List Moderator
> Global User Renamer
> 
> 
>> On Jun 4, 2016, at 10:59, Huji Lee <huji.huji at gmail.com <mailto:huji.huji at gmail.com>> wrote:
>> 
> 
>> Hi,
>> 
> 
>> My account on WMFLabs servers is huji and it is in tools.huji group. I have a file under a subdirectory of /data/project/huji/ which is stuck in the ownership of huji:tools.huji and has chmod 770:
>> 
> 
>> <image.png>
>> 
> 
>> When I run chown tools.huji:tools.huji stats.py while I am logged in as huji, it gives me a permissions error. When I do "become huji" and then run the same chown command as huji.tools, I get the exact same error.
>> 
>> When I try sudo chown tools.huji:tools.huji file as either huji or tools.huji, I get asked a password. I don't think my account is a sudoer.
>> 
>> Can someone please help me correct this situation? (As in, teach me how to correct it myself, rather than fix it for me, unless there is no way for me to fix it).
>> 
>> Thanks,
>> 
>> Huji
>> 
>> 
> 
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org <mailto:Labs-l at lists.wikimedia.org>
>> https://lists.wikimedia.org/mailman/listinfo/labs-l <https://lists.wikimedia.org/mailman/listinfo/labs-l>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org <mailto:Labs-l at lists.wikimedia.org>
> https://lists.wikimedia.org/mailman/listinfo/labs-l <https://lists.wikimedia.org/mailman/listinfo/labs-l>
> 
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org <mailto:Labs-l at lists.wikimedia.org>
> https://lists.wikimedia.org/mailman/listinfo/labs-l <https://lists.wikimedia.org/mailman/listinfo/labs-l>
> 
> 
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org <mailto:Labs-l at lists.wikimedia.org>
> https://lists.wikimedia.org/mailman/listinfo/labs-l <https://lists.wikimedia.org/mailman/listinfo/labs-l>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20160604/0ec6fc0e/attachment-0001.html>


More information about the Labs-l mailing list