Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
In my server I have two physical IDE drives: 40GB partitioned to hold SLED10 and WinXP, and an 80GB to hold data. I have set up the mount point as ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94

    Help! Konqueror won't listen to me...

    In my server I have two physical IDE drives: 40GB partitioned to hold SLED10 and WinXP, and an 80GB to hold data.

    I have set up the mount point as /data for the second drive, and shared it through SAMBA to allow access to both Linux and WinXP machines. The problem is I can't seem to set up the share to allow writing to the drive, only reading, despite what I do in the share properties.

    So, I tried opening Konqueror as root and setting the properties to "view and modify content" for both "groups" and "others" and then clicking OK, and it seems to stick. But it makes no difference, and as soon as I open the properties box it has gone back to "can view content".

    Anyone know how I can make Konqueror listen to me please?

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    How is the data partition formated??

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94
    Sorry, I should have mentioned that. It's Fat32.

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Sounds like you are mounting it readonly.

    type mount -l

    see if you have /data mounted readonly.

  5. #5
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94
    Code:
    kieren@server-suse:~> mount -l
    /dev/hda5 on / type reiserfs (rw,acl,user_xattr) []
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    debugfs on /sys/kernel/debug type debugfs (rw)
    udev on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
    /dev/hdb1 on /data type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) []
    /dev/hda7 on /sysbackup type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) []
    securityfs on /sys/kernel/security type securityfs (rw)
    kieren@server-suse:~>
    The drive in question is hdb1, and it looks to me like it's not read only. Anything else there that might point to the cause?

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    What are the permissions on the directory /data??

    Does it work as root??

    Perhaps you have not set the user permission to rwx

  7. #7
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94
    The directory /data is owned by root. Under the permissions tab, the owner can "view and modify content", group and others "can view content".

    If I log into konqueror as root and change the permissions via the drop down menus, they just change back again when I go back in, it seems to do nothing. There are no error messages. Likewise, if I click on the "advanced permissions" tab and check the "write entries" boxes for group and others, it appears to work until I OK the box and go back in, at which point the permissions have gone back again.

    If I try to change ownership of the folder from root to "kieren" and group from root to "users" I get an error message saying
    Code:
    Could not modify the ownership of file /data/.. You have insufficient access to the file to perform the change. Skip file or Cancel?
    Since last post, I have tried altering my /etc/fstab options for the mount to "defaults", like my other drives are, but nothing changes. Incase it helps, here is my /etc/fstab file, and the output of mount -l

    /etc/fstab
    Code:
    /dev/hda5            /                    reiserfs   acl,user_xattr        1 1
    /dev/hda6            swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    /dev/hdb1            /data                vfat       defaults 		   1 2
    /dev/hda7            /sysbackup           vfat       users,gid=users,umask=0002,utf8=true 0 0
    mount -l
    Code:
    kieren@server-suse:~> mount -l
    /dev/hda5 on / type reiserfs (rw,acl,user_xattr) []
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    debugfs on /sys/kernel/debug type debugfs (rw)
    udev on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
    /dev/hdb1 on /data type vfat (rw) [DATA]
    /dev/hda7 on /sysbackup type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) []
    securityfs on /sys/kernel/security type securityfs (rw)
    kieren@server-suse:~>

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Everything looks allright but it is still acting as it is readonly. The fact you can not change permissions as root acts like it is readonly for root also. Have you tried to write data as root??

    This is beyond me. Maybe someone else can jump in.

  9. #9
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94
    Logged in as a user I can't make or delete files in /data. If I open konqueror as root I can make, modify and delete files with no problems.

    I might try re-formatting as a Linux filesystem to see if that changes anything, but overall I need that partition to be FAT32, because I want it to be locally accessible to Win2K, which is dual booting with SuSE.

    Thanks for all your help anyway, it is much appreciated!

    If anyone else has any suggestions, I'd be glad to hear them.

  10. #10
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    If you can write to it as root then it is a permissons problem.

    in a console do a
    su
    {note enter root password-will not echo}
    dir /data

    to see how the permissions are set.

    male sure they are rwxrwxrwx

    use chmod +777 /data

    to set them

Page 1 of 2 1 2 LastLast

Posting Permissions

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