Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The bug starts here.


computers / alt.os.linux / chown: cannot access '.gvfs': Permission denied

SubjectAuthor
* chown: cannot access '.gvfs': Permission deniedBit Twister
+* chown: cannot access '.gvfs': Permission deniedPaul
|`- chown: cannot access '.gvfs': Permission deniedBit Twister
+* chown: cannot access '.gvfs': Permission deniedBig Dick
|`- chown: cannot access '.gvfs': Permission deniedBit Twister
+* chown: cannot access '.gvfs': Permission deniedDavid W. Hodgins
|`* chown: cannot access '.gvfs': Permission deniedBit Twister
| `* chown: cannot access '.gvfs': Permission deniedDavid W. Hodgins
|  `- chown: cannot access '.gvfs': Permission deniedBit Twister
+- chown: cannot access '.gvfs': Permission deniedTJ
`- chown: cannot access '.gvfs': Permission deniedCarlos E.R.

1
chown: cannot access '.gvfs': Permission denied

<slrnu8r868.ko8h.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1379&group=alt.os.linux#1379

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 07:02:14 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="24d38adf468db6ca27bff7cb5001ce3c";
logging-data="1304589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193o7ZZMwbWaMtR6m23YEg7sJSqqn411HE="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:jsn/AohZKZIyQGzqnvMvK70XVE8=
 by: Bit Twister - Sat, 17 Jun 2023 12:02 UTC

Getting find: ‘/accounts/browser/.gvfs’: Permission denied
from my custom script /local/cron/hourly/sys_audit:
for a whole bunch of users and wanting to see if changing
permission will stop the error message in cron.

One user example

# cd ~browser
# ls -l --all --escape --human-readable --color=auto (snippet as root))
-rwx------ 1 browser browser 45M Apr 12 09:47 firefox.tar
drwxr-xr-x 2 browser browser 4.0K Jun 17 06:29 .fontconfig
drwx------ 3 browser browser 4.0K Nov 15 2017 .gnupg
d????????? ? ? ? ? ? .gvfs
-rw------- 1 browser browser 0 Jul 25 2018 .ICEauthority

# chown -R browser:browser .gvfs
chown: cannot access '.gvfs': Permission denied

what can I do to override the Permission denied restriction as root

I want to set it like root's value
# ls -l --all --escape --human-readable --color=auto -d .gvfs
drwx------ 2 root root 4.0K Jun 10 10:44 .gvfs

Re: chown: cannot access '.gvfs': Permission denied

<u6kak6$1875d$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1382&group=alt.os.linux#1382

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 08:57:40 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <u6kak6$1875d$1@dont-email.me>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 17 Jun 2023 12:57:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e5bd9164b75d07ef2738193b436fe3be";
logging-data="1318061"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KEypPuuDelWi3sLPc/mVqoRwHaM3LfrI="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:cVu8lRswP1fpEMJWbuWf8VACaog=
Content-Language: en-US
In-Reply-To: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
 by: Paul - Sat, 17 Jun 2023 12:57 UTC

On 6/17/2023 8:02 AM, Bit Twister wrote:
> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
> from my custom script /local/cron/hourly/sys_audit:
> for a whole bunch of users and wanting to see if changing
> permission will stop the error message in cron.
>
> One user example
>
> # cd ~browser
> # ls -l --all --escape --human-readable --color=auto (snippet as root))
> -rwx------ 1 browser browser 45M Apr 12 09:47 firefox.tar
> drwxr-xr-x 2 browser browser 4.0K Jun 17 06:29 .fontconfig
> drwx------ 3 browser browser 4.0K Nov 15 2017 .gnupg
> d????????? ? ? ? ? ? .gvfs
> -rw------- 1 browser browser 0 Jul 25 2018 .ICEauthority
>
> # chown -R browser:browser .gvfs
> chown: cannot access '.gvfs': Permission denied
>
> what can I do to override the Permission denied restriction as root
>
> I want to set it like root's value
> # ls -l --all --escape --human-readable --color=auto -d .gvfs
> drwx------ 2 root root 4.0K Jun 10 10:44 .gvfs
>

https://unix.stackexchange.com/questions/77453/why-cannot-find-read-run-user-1000-gvfs-even-though-it-is-running-as-root

"try enabling the user_allow_other option.

This option is specified by adding it to /etc/fuse.conf

It has no value, just specify the option on a blank line."

So there is a place where you can make adjustments.

Paul

Re: chown: cannot access '.gvfs': Permission denied

<u6kteh$3dj4o$1@news.mixmin.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1402&group=alt.os.linux#1402

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!.POSTED!not-for-mail
From: Big.Dick@olcott.crap (Big Dick)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 19:17:03 +0100
Organization: Olcott is cock Sucker
Message-ID: <u6kteh$3dj4o$1@news.mixmin.net>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 17 Jun 2023 18:18:57 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="f6a1a318f536858fc162562c87a6007ba429ab1a";
logging-data="3591320"; mail-complaints-to="abuse@mixmin.net"
In-Reply-To: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
Content-Language: en-US
 by: Big Dick - Sat, 17 Jun 2023 18:17 UTC

On 17/06/2023 13:02, Bit Twister wrote:
>
> # chown -R browser:browser .gvfs
> chown: cannot access '.gvfs': Permission denied
>
> what can I do to override the Permission denied restriction as root
>
>

Have you tried full sudo?

sudo chown -R browser:browser� /usr/lib/gvfs

Re: chown: cannot access '.gvfs': Permission denied

<slrnu8ruil.5n7.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1403&group=alt.os.linux#1403

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 13:24:20 -0500
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <slrnu8ruil.5n7.BitTwister@wb.home.arpa>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
<u6kak6$1875d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="24d38adf468db6ca27bff7cb5001ce3c";
logging-data="1401834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/m2/GP8MCBjbMOkaotH2V9buQjlKMjOoA="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:2GmZIXe8/kk2IhxFUvr+aHv4BOw=
 by: Bit Twister - Sat, 17 Jun 2023 18:24 UTC

On Sat, 17 Jun 2023 08:57:40 -0400, Paul wrote:
> On 6/17/2023 8:02 AM, Bit Twister wrote:
>> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
>> from my custom script /local/cron/hourly/sys_audit:
>> for a whole bunch of users and wanting to see if changing
>> permission will stop the error message in cron.
>>
>> One user example
>>
>> # cd ~browser
>> # ls -l --all --escape --human-readable --color=auto (snippet as root))
>> -rwx------ 1 browser browser 45M Apr 12 09:47 firefox.tar
>> drwxr-xr-x 2 browser browser 4.0K Jun 17 06:29 .fontconfig
>> drwx------ 3 browser browser 4.0K Nov 15 2017 .gnupg
>> d????????? ? ? ? ? ? .gvfs
>> -rw------- 1 browser browser 0 Jul 25 2018 .ICEauthority
>>
>> # chown -R browser:browser .gvfs
>> chown: cannot access '.gvfs': Permission denied
>>
>> what can I do to override the Permission denied restriction as root
>>
>> I want to set it like root's value
>> # ls -l --all --escape --human-readable --color=auto -d .gvfs
>> drwx------ 2 root root 4.0K Jun 10 10:44 .gvfs
>>
>
> https://unix.stackexchange.com/questions/77453/why-cannot-find-read-run-user-1000-gvfs-even-though-it-is-running-as-root
>
> "try enabling the user_allow_other option.
>
> This option is specified by adding it to /etc/fuse.conf
>
> It has no value, just specify the option on a blank line."
>
> So there is a place where you can make adjustments.

Well I am impressed the fuese.conf change modified all users .gvfs after
rebooted the system.

Downside is, I was hoping for a root command, sort of like chatter
to override that kind of setting.

Re: chown: cannot access '.gvfs': Permission denied

<slrnu8rup7.5n7.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1404&group=alt.os.linux#1404

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 13:27:51 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <slrnu8rup7.5n7.BitTwister@wb.home.arpa>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
<u6kteh$3dj4o$1@news.mixmin.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="24d38adf468db6ca27bff7cb5001ce3c";
logging-data="1401834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19e7xsoJH7Z+eizk4vbJPz4vAN1s7p7WOw="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:lZ2GJe9G0CZ6XsuxFpye+TIvZQs=
 by: Bit Twister - Sat, 17 Jun 2023 18:27 UTC

On Sat, 17 Jun 2023 19:17:03 +0100, Big Dick wrote:
> On 17/06/2023 13:02, Bit Twister wrote:
>>
>> # chown -R browser:browser .gvfs
>> chown: cannot access '.gvfs': Permission denied
>>
>> what can I do to override the Permission denied restriction as root
>>
>>
>
> Have you tried full sudo?
>
> sudo chown -R browser:browser  /usr/lib/gvfs

Hmm, I do not like overriding system level permissions.

I was full sudo when I tried the chown command.

Re: chown: cannot access '.gvfs': Permission denied

<op.16o9x8zya3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1411&group=alt.os.linux#1411

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 16:31:10 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <op.16o9x8zya3w0dxdave@hodgins.homeip.net>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="82a3e53a9077235ae5320b5fd68b3058";
logging-data="1437229"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195tRabuQErTIVqSg44s2hYqetBXoFA/9Q="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:wv0PjwwNs6jysJ6X8a8xzoLNYSc=
 by: David W. Hodgins - Sat, 17 Jun 2023 20:31 UTC

On Sat, 17 Jun 2023 08:02:14 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
> from my custom script /local/cron/hourly/sys_audit:
> for a whole bunch of users and wanting to see if changing
> permission will stop the error message in cron.

It's a mount point used by caja-share in conjunction with samba.

If you don't use samba to share directories, remove the caja-share and gvfs-fuse
packages so that the mount point does not get created.

If you do use it, I'd recommend filtering out the error message rather then
trying make /run/user/$UID/gvfs readable by other users.

Regards, Dave Hodgins

Re: chown: cannot access '.gvfs': Permission denied

<slrnu8s9f6.of6.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1412&group=alt.os.linux#1412

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 16:30:03 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <slrnu8s9f6.of6.BitTwister@wb.home.arpa>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
<op.16o9x8zya3w0dxdave@hodgins.homeip.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="24d38adf468db6ca27bff7cb5001ce3c";
logging-data="1452866"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LG7snkvkaIyLmJR+9sea4xs8wZHzM28g="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:OI05fFWGeyZmG/hpSWy+3PXZk9Y=
 by: Bit Twister - Sat, 17 Jun 2023 21:30 UTC

On Sat, 17 Jun 2023 16:31:10 -0400, David W. Hodgins wrote:
> On Sat, 17 Jun 2023 08:02:14 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
>
>> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
>> from my custom script /local/cron/hourly/sys_audit:
>> for a whole bunch of users and wanting to see if changing
>> permission will stop the error message in cron.
>
> It's a mount point used by caja-share in conjunction with samba.
>
> If you don't use samba to share directories, remove the caja-share and gvfs-fuse
> packages so that the mount point does not get created.
>
> If you do use it, I'd recommend filtering out the error message

Offhand I have no idea how to do that. Piping error to /dev/null might
hide other problems. :(

> rather then
> trying make /run/user/$UID/gvfs readable by other users.

Thanks Dave. I wanted to keep the samba/microsoft packages on my system
to a minimum and tried Un-selecting during install but some samba pkgs
were marked mandatory and installed anyway.

I just figured the fuse stuff was more systemd overhead.
Dead easy to add urpme gvfs-fuse to my new_install script.

Re: chown: cannot access '.gvfs': Permission denied

<op.16pfd3rpa3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1414&group=alt.os.linux#1414

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 18:28:41 -0400
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <op.16pfd3rpa3w0dxdave@hodgins.homeip.net>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
<op.16o9x8zya3w0dxdave@hodgins.homeip.net>
<slrnu8s9f6.of6.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="ec625f38c7f918507f5441c8d67a289f";
logging-data="1467718"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CC9W80u9NV4hewHF6+246UlYla4KNRSE="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:BzK69svZzbzigpfY0sJlkEHzlIk=
 by: David W. Hodgins - Sat, 17 Jun 2023 22:28 UTC

On Sat, 17 Jun 2023 17:30:03 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
> I just figured the fuse stuff was more systemd overhead.
> Dead easy to add urpme gvfs-fuse to my new_install script.

You can either let it prompt you to remove the package that requires it, or
also uninstall caja-share at the same time.

Regards, Dave Hodgins

Re: chown: cannot access '.gvfs': Permission denied

<slrnu8sdtm.hisb.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1416&group=alt.os.linux#1416

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sat, 17 Jun 2023 17:46:03 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <slrnu8sdtm.hisb.BitTwister@wb.home.arpa>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
<op.16o9x8zya3w0dxdave@hodgins.homeip.net>
<slrnu8s9f6.of6.BitTwister@wb.home.arpa>
<op.16pfd3rpa3w0dxdave@hodgins.homeip.net>
Injection-Info: dont-email.me; posting-host="2b2463d8aa58bde9e790ef4d73012288";
logging-data="1471384"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1+Ak6ozVba3ryZo9huvvFBYrDvAAEIj4="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:p5pE55ZFYV5IQWY9uXVXEO2/4Rw=
 by: Bit Twister - Sat, 17 Jun 2023 22:46 UTC

On Sat, 17 Jun 2023 18:28:41 -0400, David W. Hodgins wrote:
> On Sat, 17 Jun 2023 17:30:03 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
>> I just figured the fuse stuff was more systemd overhead.
>> Dead easy to add urpme gvfs-fuse to my new_install script.
>
> You can either let it prompt you to remove the package that requires it, or
> also uninstall caja-share at the same time.

Used mcc to remove gvfs-fuse and no other package came up for removal.

caja-share was not installed. Guessing I was able to unset some samba related
package that would have dragged in caja-share.

Based on this response I added urpme caja-share just in case I miss disabling
my samba step during clean installs.

As for the yes prompt my x_urpme wrapper script does a
urpme --wait-lock --auto

Re: chown: cannot access '.gvfs': Permission denied

<u6mura$1lihu$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1425&group=alt.os.linux#1425

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: TJ@noneofyour.business (TJ)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sun, 18 Jun 2023 08:55:06 -0400
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <u6mura$1lihu$1@dont-email.me>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Jun 2023 12:55:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed7e5fa22997697781a7e53262e34d7d";
logging-data="1755710"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dcl94B8MAeQVdlJnvyjm25AiFukEG+kU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:uboMmYzI+lYtgw+3IqR/Bb5JWEQ=
In-Reply-To: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
Content-Language: en-US
 by: TJ - Sun, 18 Jun 2023 12:55 UTC

On 2023-06-17 08:02, Bit Twister wrote:
> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
> from my custom script /local/cron/hourly/sys_audit:
> for a whole bunch of users and wanting to see if changing
> permission will stop the error message in cron.
>
> One user example
>
> # cd ~browser
> # ls -l --all --escape --human-readable --color=auto (snippet as root))
> -rwx------ 1 browser browser 45M Apr 12 09:47 firefox.tar
> drwxr-xr-x 2 browser browser 4.0K Jun 17 06:29 .fontconfig
> drwx------ 3 browser browser 4.0K Nov 15 2017 .gnupg
> d????????? ? ? ? ? ? .gvfs
> -rw------- 1 browser browser 0 Jul 25 2018 .ICEauthority
>
> # chown -R browser:browser .gvfs
> chown: cannot access '.gvfs': Permission denied
>
> what can I do to override the Permission denied restriction as root
>
> I want to set it like root's value
> # ls -l --all --escape --human-readable --color=auto -d .gvfs
> drwx------ 2 root root 4.0K Jun 10 10:44 .gvfs

Re: chown: cannot access '.gvfs': Permission denied

<fj94mjxda6.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1450&group=alt.os.linux#1450

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: chown: cannot access '.gvfs': Permission denied
Date: Sun, 18 Jun 2023 23:29:51 +0200
Lines: 40
Message-ID: <fj94mjxda6.ln2@Telcontar.valinor>
References: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net husY1k21JW3UwYCXZDVLMQTbrunz7KpmJoaeplJdjx/sI7HV4l
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:u9MflLZE4evw2QC5V40MsqEFXBA=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <slrnu8r868.ko8h.BitTwister@wb.home.arpa>
 by: Carlos E.R. - Sun, 18 Jun 2023 21:29 UTC

On 2023-06-17 14:02, Bit Twister wrote:
> Getting find: ‘/accounts/browser/.gvfs’: Permission denied
> from my custom script /local/cron/hourly/sys_audit:
> for a whole bunch of users and wanting to see if changing
> permission will stop the error message in cron.
>
> One user example
>
> # cd ~browser
> # ls -l --all --escape --human-readable --color=auto (snippet as root))
> -rwx------ 1 browser browser 45M Apr 12 09:47 firefox.tar
> drwxr-xr-x 2 browser browser 4.0K Jun 17 06:29 .fontconfig
> drwx------ 3 browser browser 4.0K Nov 15 2017 .gnupg
> d????????? ? ? ? ? ? .gvfs
> -rw------- 1 browser browser 0 Jul 25 2018 .ICEauthority
>
> # chown -R browser:browser .gvfs
> chown: cannot access '.gvfs': Permission denied
>
> what can I do to override the Permission denied restriction as root
>
> I want to set it like root's value
> # ls -l --all --escape --human-readable --color=auto -d .gvfs
> drwx------ 2 root root 4.0K Jun 10 10:44 .gvfs

..gvfs is a virtual filesystem that is created and used by gtk based
desktops, like xfce and gnome, maybe others, dunno. It is needed, for
example, to access usb sticks, cameras, phones and probably other
things, so don't remove gvfs-fuse if you are using any of those
desktops. Don't try to change its permissions.

Just tell your tools to ignore .gvfs directory.

https://en.wikipedia.org/wiki/GVfs

--
Cheers, Carlos.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor