LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2020, 02:59 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 923

Rep: Reputation: 61
Cool Why am I not able to read or operate on this directory?


Code:
wh33t@wh33tcloud:/var/www/wh33tcloud$ ls -l
total 4
drwxrwx--- 6 www-data www-data 4096 Sep 17 03:18 data
Code:
wh33t@wh33tcloud:/var/www/wh33tcloud$ groups wh33t
wh33t : wh33t adm cdrom sudo dip www-data plugdev lxd
Code:
wh33t@wh33tcloud:/var/www/wh33tcloud$ ls data/
ls: cannot open directory 'data/': Permission denied
I am clearly in the group for www-data, and the www-data group is to read write and execute, right?

Edit:
Apparently I just needed to logout and then back in. Works now!

Last edited by wh33t; 09-17-2020 at 04:27 PM.
 
Old 09-21-2020, 05:39 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,632

Rep: Reputation: Disabled
Congrats. Please mark your thread as [solved] then...
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] why does gparted say "can't operate" but run anyway? newbiesforever Linux - Software 4 08-16-2020 11:56 AM
rmlint or any deduplication tools options - need to operate at directory level uyjjhak Linux - Software 1 03-29-2020 06:12 AM
[SOLVED] My Touchpad Will not Operate on IBM ThinkPad R51 bjoerng44 Linux - Newbie 8 01-12-2015 03:02 AM
why can't I operate on a file and replace it atjurhs Linux - Newbie 40 01-10-2013 03:27 AM
2.6.0 - CPU Fan does not operate slowly Slackware 2 12-30-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration