maindavfs2 - Support: sr #108344, "Invalid argument"...

 
 

sr #108344: "Invalid argument" setting executable permision bits, v1.4.7

Submitter:  None
Submitted:  Thu 25 Jul 2013 09:07:58 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 20 Apr 2014 07:43:47 PM UTC, comment #2: 

The problem is fixed in the CVS sources branch MAIN and branch rel-1-4-6.

Werner

- <_71007>
Tue 30 Jul 2013 05:10:40 PM UTC, comment #1: 

You mount your filesystems with option 'noexec' (this is also the default with usermounts). Because of this you can't execute any file. You probably are aware of this.

Independent of option 'exec' or 'noexec' you should be able to set the execute bit. This is a known bug in davfs2. It only allows to set the execute bit if mounted with option 'exec'.

As a workaround, until this bug is fixed, you should mount your filesystem with option 'exec' if security considerations allow for this.

Werner

- <_71007>
Thu 25 Jul 2013 09:07:58 AM UTC, original submission:  

Hello

I have a davfs folder mounted by non-root user on Ubuntu 13.04 x64, in which a I have a couple of script files that I would like to make executable. But `chmod` says "Invalid argument" when i try to do that.

My user and system config files are all empty (generated coments only).

Here is the output from a few commands showing my settings:

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ uname -a
Linux adrian-OptiPlex-790 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ cat /etc/issue
Ubuntu 13.04 \n \l

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$


adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ mount.davfs --version
davfs2 1.4.7  <http://savannah.nongnu.org/projects/davfs2>

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ grep davfs /etc/fstab
#https://storage-file-eu.gmx.com/           ./gmx-file-storage      davfs   noauto,nodev,exec,nosuid,user,file_mode=744,dir_mode=755   0        0
https://storage-file-eu.gmx.com/            ./gmx-file-storage      davfs   noauto,nodev,noexec,nosuid,user,file_mode=755,dir_mode=755   0      0
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ mount | grep davfs
https://storage-file-eu.gmx.com/ on /home/adrian/projects.git/gmx-file-storage type davfs (rw,nosuid,noexec,nodev,_netdev,user=adrian)
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ ll rsync-pu*
-rw-r--r-- 1 adrian adrian 619 Feb  3 17:26 rsync-pull
-rw-r--r-- 1 adrian adrian 623 Feb 23 01:05 rsync-push
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ chmod u+x rsync-pu*
chmod: changing permissions of ‘rsync-pull’: Invalid argument
chmod: changing permissions of ‘rsync-push’: Invalid argument
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$

adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$ chmod oug+x rsync-pu*
chmod: changing permissions of ‘rsync-pull’: Invalid argument
chmod: changing permissions of ‘rsync-push’: Invalid argument
adrian@adrian-OptiPlex-790:~/projects.git/gmx-file-storage/projects/DBGpClient$






Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-22 _71007 Open/ClosedOpen Closed
    2014-04-20 _71007 StatusConfirmed Done
    2013-07-30 _71007 StatusNone Confirmed
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code