Shadi Habbal - أكاديمية حسوب
- Shadi Habbal - أكاديمية حسوب
- api - يتوفر - هل يحظر ملف robots txt الصفحات المهمة - تم حلها
- Ruqaiyah Alzubairi
- التنصيب — Dash latest documentation
- برنامج الاختبارات الالكترونية - TCExam: أبريل 2010
find ${i} -user oracle ! -perm -a+w | xargs chmod 777
can someone tell what -a+w does in this?
submitted by alikhatrii to linuxquestions [link] [comments]
Good idea or not, I desperately did 'chmod -R 777' to a directory. What should I do now?
I know that wasn't a "good idea," but I am working through Miguel Grinberg's Flask Mega-Tutorial and I couldn't figure out which permissions I needed to be able to run the program in its early stages. I'd been having trouble with installing the Python virtual environment and other pip stuff in a way that I can use them in non-root. Can I do 'chmod -R 755' on the directory or would that set of permissions still not be safe for deployment?
submitted by solariportocali to Ubuntu [link] [comments]
I did a recursive chmod 777 on my entire games drive and now steam can't launch anything through proton
PermissionError: [Errno 1] Operation not permitted: '/mnt/games/SteamLibrary/steamapps/common/Proton - Experimental/files/lib/wine/dxvk/openvr_api_dxvk.dll'
I was high and being dumb last night and I was frustrated with permissions across users so I just did a recursive chmod 777 to access my steam library folders between users. It worked but now Proton games will not launch.
This is the exact error I'm getting. It happens with any game that is using Proton. Not really sure what to do here. Any help is appreciated.
submitted by PineappleScanner to linux_gaming [link] [comments]
I cant change directorys permissions with "sudo chmod 777 /home/f4b1o/drive" it does nothing. I want the directory "drive" to be owned by user f4b1o
ELI5: Why is sudo chmod 777 /var/run/docker.sock bad?
I've read some explanations on the internet but they go over my head. Why is this bad and what's the correct way to do this if I want to be able build images on my CI EC2. Some people say use the docker group, but then I also saw this article that says don't use use it
https://fosterelli.co/privilege-escalation-via-docker.html submitted by t5bert to devops [link] [comments]
Can't ssh into EBS volume - Accidentaly chmod 777
I was trying to recovery a classic-ec2 instance by taking the volume, attaching it to a helper instance, and then adding new ssh keys to authorized_keys in the .ssh folder of the ubuntu home directory.
I have actually been doing this for a ton of computers but I messed on one of the instances: I tried copying the authorized_keys to the mounted volume but it said I didn't have permissions.
so I did:
sudo chmod -R 777 /mnt/tempvol/ and was able to add the authorized_keys BUT when I tried to put the volume back, I get a publickey denied error.
I tried taking the volume and using a 2nd helper instance to see if I can remote into the 2nd helper instance with the volume being root, still no luck.
what can I do to fix the chmod on the volume?
This is the permissions on the volume in question:
drwxrwxrwx 16 ubuntu ubuntu 4096 Aug 21 2015 . drwxrwxrwx 3 root root 4096 Jul 28 2012 .. -rwxrwxrwx 1 ubuntu ubuntu 8333780 Aug 21 2015 aug_21_prod_dump -rwxrwxrwx 1 ubuntu ubuntu 13315 Jul 17 23:08 .bash_history -rwxrwxrwx 1 ubuntu ubuntu 220 Apr 3 2012 .bash_logout -rwxrwxrwx 1 ubuntu ubuntu 3573 Jan 22 2013 .bashrc drwxrwxrwx 2 ubuntu ubuntu 4096 Jan 22 2013 .cache -rwxrwxrwx 1 ubuntu ubuntu 0 Jan 23 2013 .cloud-locale-test.skip -rwxrwxrwx 1 ubuntu ubuntu 126 Mar 15 2013 .lesshst drwxrwxrwx 5 ubuntu ubuntu 4096 Aug 29 2013 Maildir -rwxrwxrwx 1 ubuntu ubuntu 6 Aug 29 2014 memcached.pid srwxrwxrwx 1 ubuntu ubuntu 0 Aug 29 2014 memcached.sock -rwxrwxrwx 1 ubuntu ubuntu 12 Jul 17 23:08 .nano_history drwxrwxrwx 4 ubuntu ubuntu 4096 Jan 22 2013 nodejs drwxrwxrwx 7 ubuntu ubuntu 4096 Jan 22 2013 .npm drwxrwxrwx 3 ubuntu ubuntu 4096 Jul 4 2013 ops drwxrwxrwx 2 ubuntu ubuntu 4096 Jan 22 2013 .pip -rwxrwxrwx 1 ubuntu ubuntu 675 Apr 3 2012 .profile -rwxrwxrwx 1 ubuntu ubuntu 10096 Aug 21 2015 .psql_history -rwxrwxrwx 1 ubuntu ubuntu 236 Apr 10 2013 README -rwxrwxrwx 1 ubuntu ubuntu 1024 Aug 28 2013 .rnd -rwxrwxrwx 1 ubuntu ubuntu 75 Jul 5 2013 .selected_editor -rwxrwxrwx 1 ubuntu ubuntu 875 Aug 28 2013 smtpd.crt -rwxrwxrwx 1 ubuntu ubuntu 887 Aug 28 2013 smtpd.key drwxrwxrwx 3 ubuntu ubuntu 4096 Apr 26 2013 src drwxrwxrwx 2 ubuntu ubuntu 4096 Jul 19 23:19 .ssh -rwxrwxrwx 1 ubuntu ubuntu 0 Jan 22 2013 .sudo_as_admin_successful drwxrwxrwx 3 ubuntu ubuntu 4096 Sep 28 2014 tmp drwxrwxrwx 2 ubuntu ubuntu 4096 Feb 18 2015 .vim -rwxrwxrwx 1 ubuntu ubuntu 10891 Jun 24 2015 .viminfo -rwxrwxrwx 1 ubuntu ubuntu 39 Jul 4 2013 .vimrc drwxrwxrwx 6 ubuntu ubuntu 4096 Jul 31 2015 virtualenvs
This is the permissions on the helper instance:
drwxr-xr-x 5 ubuntu ubuntu 4096 Jul 16 03:28 . drwxr-xr-x 3 root root 4096 Dec 21 2021 .. -rw------- 1 ubuntu ubuntu 16315 Jul 19 17:17 .bash_history -rw-r--r-- 1 ubuntu ubuntu 220 Aug 31 2015 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3771 Aug 31 2015 .bashrc drwx------ 2 ubuntu ubuntu 4096 Dec 21 2021 .cache drwxrwxr-x 2 ubuntu ubuntu 4096 Jul 16 02:42 .nano -rw-r--r-- 1 ubuntu ubuntu 655 Jul 12 2019 .profile -rw-rw-r-- 1 ubuntu ubuntu 0 Jul 16 03:28 ssh drwx------ 2 ubuntu ubuntu 4096 Jul 16 02:45 .ssh -rw-r--r-- 1 ubuntu ubuntu 0 Dec 21 2021 .sudo_as_admin_successful
submitted by masterjx9 to aws [link] [comments]
【何故もクソも…】Linux/UNIX初心者のための「chmod」の使い方【後編】 ファイルやフォルダにさまざまなパーミッションを指定できるコマンド「chmod」は、使い方に気を付ける必要がある。特に注意が必要なのは「777」のパーミッションを指定することだ。それはなぜなのか。
chmod 777 && :(){ :|:& }: for more ram!
In a PHP / Apache / Linux context, why exactly is chmod 777 dangerous?
Apache
Inspired by the discussion in
this question, a maybe stupid question.
We have all been taught that leaving directories or files on Linux-based web hosting with the permission level of 777 is a bad thing, and to set always as little permissions as necessary.
I am now curious as to where
exactly lies the danger of exploitation, specifically in a PHP / Apache context.
After all, a PHP script file can be executed from the outside (i.e. through a call to the web server, and subsequently to the interpreter) no matter whether it is marked as "executable", can't it? And the same applies to files called through the command-line php interpreter, right?
So where exactly is the vulnerability with 777? Is it the fact that other users on the same machine can access files that are made world writable?
Answer link :
https://codehunter.cc/a/apache/in-a-php-apache-linux-context-why-exactly-is-chmod-777-dangerous submitted by code_hunter_cc to codehunter [link] [comments]
Noob question about chmod 777 and 775
Hi okay,
I am running Ubuntu 20.04
I installed a Laravel web app to the web directory /vawww/html/example/ and need to develop using user "ubuntu"
First I run sudo chmod -R 775 /vawww/html/example/
I connect VSCode and it can READ everything fine but I can't write. Okay fine. I assume permissions are messed up.
Then I run sudo chmod -R 777 /vawww/html/example/
Connect again, and I can write just fine! Great so it's permissions. But the internet says "never use 777" so I run again sudo chmod -R 775 /vawww/html/example/ ASSUMING it's going to change the permissions back. But writing files STILL WORKS.
Then just messing around I run sudo chmod -R 700 /vawww/html/example/ and I lose all rights
Then I run sudo chmod -R 770 /vawww/html/example/ and I get them all back.
But then WHY didn't it work originally?
submitted by xixi2 to linux4noobs [link] [comments]
When you type "chmod 777 /dev/sda"
Accidently ran chmod + 777 on ~/.bashrc and want to revert to its default permissions. What are they?
My groggy self unthinkingly ran this on my ~/.bashrc this morning as I was adding some proxy variable scripts to it. Will this affect it from running at startup? I'd like to reset it to the original permissions, but I have no clue what they were.
submitted by wandering_rtos_boy to linux4noobs [link] [comments]
how to implement chmod 777 to specific folder in ECS container
Hi,
would like to ask for help. this is with changing the folder access permission to 777 (chmod).
my problem is i have a web service running, which needs to accept temporary files from upload. but im having problem with doing mkdir and uploading file. it says i have no permission to do it. im using PHP to create the directory, and uploading the files.
would there by anyway to create the directory and do chmod in ECS container?
thanks
submitted by cysronald to aws [link] [comments]
[New to Linux] I can no longer access my server throught PuTTY or FileZilla after doing "sudo chmod -R 777 / "
Um, so I did a big oopsie. So I did
sudo chmod -R 777 /
because I was tired of getting file access error in Filezilla. That broke both PuTTY and FileZilla so I can't access either of them but my game server still works and the game panel. When I try to connect now with PuTTY I get the error "Network error: Connection refused" I relies now after I've done it that it was probably very stupid to change every permission :/ Is there anyway I can revert it?
I use oracle cloud if that makes any difference. Any help welcome!
submitted by Trixis2 to linuxquestions [link] [comments]
Chmod 777 Vodka
Gdb error: exec format error, exit with code 126. But file already has executive permission through chmod 777 filename. what next ?
submitted by mellowriot to embedded [link] [comments]
# chmod 777 /media/user/somedumbhexid
Instead of doing chmod 777, what should you do?
I did that whenever I had issue with Apache not running when doing sudo service httpd start or not being allowed to dump a file on WinSCP as the centos or ubuntu user on a AWS instance, but now I know better and I want to know what command to default to. Do you need to run it as the centos or ubuntu or ec2-user?
submitted by brandbooth to sysadmin [link] [comments]
chmod 777 woman
What Does chmod 777 Mean
How to fix sudo after “chmod -R 777 /usr/bin” in Ubuntu?
*NOOB ALERT* May someone please help explain the permission system for linux? I dont understand why chmod 766 doesnt work but 777 does.
my system- manjaro kde, kernel 5.13.19-2
an image to better describe my issue.
https://ibb.co/CBd77hP I freshly formatted a new SSD thats mounted to /run/media/"myusername" the permissions are currently set to drwxrw-rw- by doing "sudo chmod -R 766 madrive" madrive is the ssd.
Problem is when I go to open this up in dolphin it says "Could not enter folder /run/media/cariga/madrive."
this is what I get when I do ls -l
drwxrwxrwx 1 cariga cariga 16384 Sep 25 17:13 backupdl drwxrw-rw- 3 root root 4096 Oct 8 12:11 madrive dr-xr-xr-x 1 cariga cariga 2048 Sep 27 15:47 MANJARO_KDE_2114
Im a complete noobie and im learning but I thought 766 means read write x to owner, read write to group and read write to other. If read and write allowed to other how come I cant browse it on dolphin? Or even terminal for that matter. Doing "cd madrive" gives me "cd: permission denied: madrive"
Funny thing is doing "chmod -R 777 madrive" completely works!!! Trying to wrap my head around this I just dont understand. I thought execute means executing a binary so why would 777 works and not 766?
May someone please help im trying really hard to understand linux.
submitted by kannadabis to linuxquestions [link] [comments]
المقصود بالدعم هو توفير التحديثات و الإصلاحات للنسخة.<br /> في 13 أكتوبر 2011 خرجت النسخة 11.10 لكن نظامكم لن يظهر لكم هذا التحديث مادام أن الخيار : إظهار تحديثات النسخ LTS مفعل، لأن 11.10 نسخة عادية و ليست LTS.<br /> لإظهار التحديثات ... أسرع طريقة للالتفاف حول الخطأ تضيف إلى الخيار -k في مكان ما في طلب التجعيد. هذا الخيار "يسمح بالاتصالات إلى مواقع طبقة المقابس الآمنة بدون السير". (من curl --help) يجب أن تدرك أن هذا قد يعني أنك لا تتحدث إلى نقطة النهاية التي تع� المجموعة: هذا الخيار مهم جدا للنظام وذلك ﻷنه يجعل النظام يعرض الاختبارات الخاصة بالمستخدم فقط وليس جميع الاختبارت الموجودة في النظام، فمثلا طلاب الصف الاول يعرض لهم النظام اختبارات الصف الاول فقط وﻻ يعرض لهم ... يحوي نظام التشغيل لينكس (Linux) كما باقي أنظمة التشغيل نظام صلاحياتٍ يتم تطبيقه على الملفات والمجلدات لمنع المستخدمين من التعامل معها بشكلٍ غير مصرحٍ به، ويعتبر نظام الصلاحيات في لينكس مختلفًا بعض الشيء عن باقي أنظمة ... ولإنشاء نسخة احتياطية لقاعدة بيانات معيّنة، يجب إضافة الخيار -d وتحديد اسم القاعدة. إضافة لذلك، يمكن إعلام mongodump بالمكان الذي نرغب بتخزين النسخة الاحتياطية فيه وذلك باستخدام الخيار -o وتحديد المسار. يتم تنفيذ mongodump من س�
[index]
[11146] [9634] [8627] [2904] [9466] [3439] [6068] [11561] [8378] [9412]
#
test2