Skip to content

Commit 2503882

Browse files
committed
Merge branch '4629_extfs_chmod'
* 4629_extfs_chmod: Ticket #4629: chmod/chown inside extfs (e.g. zip archive) silently fails.
2 parents c621134 + ba19a55 commit 2503882

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/vfs/extfs/extfs.c

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,27 +1337,6 @@ extfs_readlink (const vfs_path_t *vpath, char *buf, size_t size)
13371337

13381338
/* --------------------------------------------------------------------------------------------- */
13391339

1340-
static int
1341-
extfs_chown (const vfs_path_t *vpath, uid_t owner, gid_t group)
1342-
{
1343-
(void) vpath;
1344-
(void) owner;
1345-
(void) group;
1346-
return 0;
1347-
}
1348-
1349-
/* --------------------------------------------------------------------------------------------- */
1350-
1351-
static int
1352-
extfs_chmod (const vfs_path_t *vpath, mode_t mode)
1353-
{
1354-
(void) vpath;
1355-
(void) mode;
1356-
return 0;
1357-
}
1358-
1359-
/* --------------------------------------------------------------------------------------------- */
1360-
13611340
static ssize_t
13621341
extfs_write (void *fh, const char *buf, size_t nbyte)
13631342
{
@@ -1744,8 +1723,6 @@ vfs_init_extfs (void)
17441723
vfs_extfs_ops->stat = extfs_stat;
17451724
vfs_extfs_ops->lstat = extfs_lstat;
17461725
vfs_extfs_ops->fstat = extfs_fstat;
1747-
vfs_extfs_ops->chmod = extfs_chmod;
1748-
vfs_extfs_ops->chown = extfs_chown;
17491726
vfs_extfs_ops->readlink = extfs_readlink;
17501727
vfs_extfs_ops->unlink = extfs_unlink;
17511728
vfs_extfs_ops->chdir = extfs_chdir;

0 commit comments

Comments
 (0)