Find the answer to your Linux question:
Results 1 to 6 of 6
I've a Directory /media/SRV I want to checkout my svn reposetory to here. checkout is successfull when I do it in $HOME or any other directory. but When I do ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    svn checkout .svn/entries': Operation not permitted

    I've a Directory /media/SRV
    I want to checkout my svn reposetory to here.
    checkout is successfull when I do it in $HOME or any other directory.
    but When I do it in /media/SRV i get the following error.
    Code:
    svn: Can't change perms of file 'xxx.p4/.svn/entries': Operation not permitted
    here is the attrubutes of /media/SRV
    Code:
    user@server:/media$ ls -l;
    drwxrwxrwx 12 root root 12288 2008-08-01 17:44 SRV
    SRV is mass writable and readable.
    I can simply read, write, execute common files from this directory. without root access.
    but i makes probem during svn. (if I checkout as root (using sudo) then its all ok)

    Probably you have already understood that
    a Hard disk partition is mounted on /media/SRV

  2. #2
    Linux Newbie
    Join Date
    Feb 2008
    Location
    Bangalore, India
    Posts
    112
    To reach SRV, your normal user has to go through /media. what are the permissions on /media?

    Normal user require 'x' executable permission to cd to directory.

    - nilesh
    bigunix.blogspot.com
    Registered Linux User: #476440

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    I am using debian.
    so the /media is the regular /media Directory of debian
    Code:
    user@server:/$ ls -l;
    drwxr-xr-x   4 root root  4096 2008-06-01 18:11 home
    drwxr-xr-x   8 root root  4096 2008-08-01 14:39 media
    the attributes of home is same as attributes of media.
    but checkout on /home/user works successfully.
    but checkout on /media/SRV doesnt work as a normal user.

  4. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    This s an Important Line from /etc/fstab
    That shows the mounting attributes of /dev/sda5 on /media/SRV
    Code:
    /dev/sda5	/media/SRV	vfat	defaults,utf8,umask=0	0	0

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    Solved by Putting
    uid=1000
    e.g. my $UID is 1000
    /dev/sda5 is fat and I forgot to do that while configuring fstab.

    Thanks AnyWay.

  6. #6
    Linux Newbie
    Join Date
    Feb 2008
    Location
    Bangalore, India
    Posts
    112
    please close thread if you got the solution.
    bigunix.blogspot.com
    Registered Linux User: #476440

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...