Permissions set incorrectly when copying
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshfs-fuse (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Recently, probably following a dist-upgrade, the permissions have been getting munged when copying over sshfs.
SERVER (VFAT):
$ ll
total 36M
d---rwxr-x 1 ken 1015 32K Jul 27 01:27 ./
drw-rwxr-x 1 ken 1015 32K Jul 26 22:11 ../
d---rwxr-x 1 ken 1015 32K Jul 27 15:04 20130726T202957
----rwxr-x 1 ken 1015 32M Jul 27 01:53 20130726T202957
d---rwxr-x 1 ken 1015 32K Jul 27 15:04 20130726T220136
d---rwxr-x 1 ken 1015 32K Jul 27 15:04 20130726T220222
----rwxr-x 1 ken 1015 4.3M Jul 27 01:17 20130726T220222
CLIENT (/tmp)
$ ll
total 36M
drwxrwxr-x 5 ken ken 4.0K Jul 29 11:54 ./
drwxrwxrwt 19 root root 12K Jul 29 12:55 ../
d---rwxr-x 2 ken ken 20K Jul 29 11:53 20130726T202957
-rw-rwxr-x 1 ken ken 32M Jul 29 11:54 20130726T202957
drw-rwxr-x 2 ken ken 4.0K Jul 29 11:54 20130726T220136
drw-rwxr-x 2 ken ken 4.0K Jul 29 11:54 20130726T220222
-rw-rwxr-x 1 ken ken 4.3M Jul 29 11:54 20130726T220222
The result being that I cannot access 20130726T202957
I don't know why this has started happening but around the same time smbfs has problems connecting and copying (from a different server - ext4) and boot fails because nofail is being ignored. Something core must have been changed.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sshfs 2.3-1ubuntu0.1
ProcVersionSign
Uname: Linux 3.2.0-49-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
Date: Mon Jul 29 12:57:44 2013
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: sshfs-fuse
UpgradeStatus: No upgrade log present (probably fresh install)
And I've just found out that the first few files that have been copied into this directory are also inaccessible:
$ ll | more
total 174M
drwxrwxrwx 2 ken ken 20K Jul 29 11:53 ./
drwxrwxr-x 5 ken ken 4.0K Jul 29 11:54 ../
----rwxr-x 1 ken ken 382K Jul 29 11:47 00000.jpg*
----rwxr-x 1 ken ken 385K Jul 29 11:47 00001.jpg*
----rwxr-x 1 ken ken 383K Jul 29 11:47 00002.jpg*
----rwxr-x 1 ken ken 388K Jul 29 11:47 00003.jpg*
----rwxr-x 1 ken ken 390K Jul 29 11:47 00004.jpg*
----rwxr-x 1 ken ken 393K Jul 29 11:47 00005.jpg*
----rwxr-x 1 ken ken 396K Jul 29 11:47 00006.jpg*
----rwxr-x 1 ken ken 395K Jul 29 11:47 00007.jpg*
----rwxr-x 1 ken ken 398K Jul 29 11:47 00008.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:47 00009.jpg*
----rwxr-x 1 ken ken 403K Jul 29 11:48 00010.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:48 00011.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00012.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:48 00013.jpg*
----rwxr-x 1 ken ken 403K Jul 29 11:48 00014.jpg*
----rwxr-x 1 ken ken 404K Jul 29 11:48 00015.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00016.jpg*
----rwxr-x 1 ken ken 405K Jul 29 11:48 00017.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00018.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:48 00019.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00020.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00021.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00022.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00023.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:48 00024.jpg*
----rwxr-x 1 ken ken 401K Jul 29 11:48 00025.jpg*
----rwxr-x 1 ken ken 402K Jul 29 11:48 00026.jpg*
-rw-rwxr-x 1 ken ken 397K Jul 29 11:48 00027.jpg*
-rw-rwxr-x 1 ken ken 401K Jul 29 11:48 00028.jpg*
-rw-rwxr-x 1 ken ken 400K Jul 29 11:48 00029.jpg*
-rw-rwxr-x 1 ken ken 397K Jul 29 11:48 00030.jpg*
If I didn't have sudo access I'd be screwed.