derrickchoi / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

ownership of the new file created in s3fs directory is user root and group root #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I create a file in a directory under s3fs mounted file system, it is owned 
by user root and group root.  Is this correct behavior?  shouldn't it be owned 
by the user/group who is creating the file?  Or is this an indication of 
underlying problem?  Or am I doing something wrong?

Thank you in advance.

Tena

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):
  it says 1.19, but I installed it from s3fs-1.40.tar.gz.

Version of fuse being used (pkg-config --modversion fuse):
  2.8.5

System information (uname -a):
  Linux ip-10-194-62-47 2.6.34.7-56.40.amzn1.x86_64 #1 SMP Fri Oct 22 18:48:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):
  Amazon Linux AMI release 2010.11.1 (beta)
  Kernel \r on an \m

s3fs command line used (if applicable):
  [tsakai@ip-10-194-62-47 ~]$ df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/xvda1            7.9G  1.7G  6.2G  22% /
  tmpfs                 3.7G     0  3.7G   0% /dev/shm
  s3fs                  256T     0  256T   0% /mnt/egcrc
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ pwd
  /home/tsakai
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ ll
  total 12
  -rw-rw-r-- 1 tsakai tsakai 551 Mar  2 05:50 app.ac
  -rw-r--r-- 1 tsakai tsakai 363 Feb 25 23:53 app.ac.generic
  -rwxr-xr-x 1 tsakai tsakai 592 Mar  2 05:49 fib.R
  -rw-rw-r-- 1 tsakai tsakai   0 Mar  4 21:11 moo
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ rm moo
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ touch moo
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ ll moo
  -rw-rw-r-- 1 tsakai tsakai 0 Mar  4 21:18 moo
  [tsakai@ip-10-194-62-47 ~]$ 
  [tsakai@ip-10-194-62-47 ~]$ cd /mnt/egcrc
  [tsakai@ip-10-194-62-47 egcrc]$ 
  [tsakai@ip-10-194-62-47 egcrc]$ ll
  total 1
  -rwxr-xr-x 1 root root 216 Feb  9 21:15 2ec2
  -rw-rw-r-- 1 root root   0 Mar  4 21:10 moo
  [tsakai@ip-10-194-62-47 egcrc]$ 
  [tsakai@ip-10-194-62-47 egcrc]$ rm moo
  [tsakai@ip-10-194-62-47 egcrc]$ 
  [tsakai@ip-10-194-62-47 egcrc]$ ll
  total 1
  -rwxr-xr-x 1 root root 216 Feb  9 21:15 2ec2
  [tsakai@ip-10-194-62-47 egcrc]$ 
  [tsakai@ip-10-194-62-47 egcrc]$ touch moo
  [tsakai@ip-10-194-62-47 egcrc]$ 
  [tsakai@ip-10-194-62-47 egcrc]$ ll
  total 1
  -rwxr-xr-x 1 root root 216 Feb  9 21:15 2ec2
  -rw-rw-r-- 1 root root   0 Mar  4 21:19 moo
  [tsakai@ip-10-194-62-47 egcrc]$ 

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):
  grep: /var/log/syslog: No such file or directory

Original issue reported on code.google.com by SakaiT...@gmail.com on 4 Mar 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Version of s3fs being used (s3fs --version):
  it says 1.19, but I installed it from s3fs-1.40.tar.gz.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is a problem. If you are installing 1.40 then you should get 1.40 on s3fs 
--version.  I suspect that you have multiple versions installed and your PATH 
is pointing to the older one.

Original comment by dmoore4...@gmail.com on 7 Mar 2011 at 7:26

GoogleCodeExporter commented 8 years ago
Existing issues address the ownership issue. Issue #20, issue #40 and/or issue 
#93 (or some combination of them) should cover this ownership issue.

Original comment by dmoore4...@gmail.com on 7 Mar 2011 at 7:31