Skip to contentSkip to conversation

Very quick embarrassing q: /var/lib permissions.

DISCUSSION al 2 participants 5 messages May 31, 2016 – Jun 2, 2016 Btrfs file system

lore
Share & tools
lore

al

author
#0 lore raw

Please can someone run:

# ls -l /var/lib/ | grep btrfs

for me (and post to directly or via list as they think fit).

Thank you.

#1 lore raw
Quoted 5 lines · al

Please can someone run:

# ls -l /var/lib/ | grep btrfs

for me (and post to directly or via list as they think fit).

================================

$ ls -l /var/lib | grep btrfs
drwxr-xr-x  1 root          root          196 May 18 10:34 btrfs
================================

This directory will be created when you run "btrfs scrub start" for the first time.

Thanks,
Satoru

Quoted 8 lines

Thank you.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

Satoru Takeuchi <takeuchi_satoru <at> jp.fujitsu.com> writes:
<snip>

Thank you, sir!

I wonder if you would let me have the permissions (only) of any of the files you have inside your equivalent directory.

Effectively I'm asking (for evidence) if I'm using the command with escalated permissions when this is unnecessary.

#3 lore raw
Quoted 7 lines · al

Satoru Takeuchi <takeuchi_satoru <at> jp.fujitsu.com> writes:
<snip>

Thank you, sir!

I wonder if you would let me have the permissions (only) of any of the files you have inside your equivalent directory.

Here it is.

===================

# ls -l /var/lib/btrfs/
total 4
-rw-------. 1 root root 413 Jun  1 08:19 scrub.status.<FSID>
===================
Quoted 3 lines

Effectively I'm asking (for evidence) if I'm using the command with escalated permissions when this is unnecessary.

I wonder why you ask these question. Probably it's enough to read the file permissions of your system...

Thanks,
Satoru

Quoted 8 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw
Quoted 1 line · Satoru Takeuchi <takeuchi_satoru <at> jp.fujitsu.com> writes:

<snip>

Something is wrong with my setup or process. I'm still not getting progress reports (any longer) on scrub status and I wanted to make sure it's not me before I whinge again. :-D

I've just, with your help, ruled out permissions.
I next need to have a quick test at running scrub from the root (rather the all-encompassing subvol).

Thank you again Satoru.