Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi. In Suse 10.1 I run Yast>System>Partitioner. Then partition my drive 'reiser' then I open it in konqueror and it says access denied? And then I chmod 777 it and ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    12

    Format, help please?

    Hi. In Suse 10.1 I run Yast>System>Partitioner. Then partition my drive 'reiser' then I open it in konqueror and it says access denied? And then I chmod 777 it and now I can open, drop and drag folders and files. I cannot create new folders by right clicking> new folder. I can't put new files there either. (Its grayed out) Is this my fault? Can you help me please?

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Quote Originally Posted by iNULL
    Hi. In Suse 10.1 I run Yast>System>Partitioner. Then partition my drive 'reiser' then I open it in konqueror and it says access denied? And then I chmod 777 it and now I can open, drop and drag folders and files. I cannot create new folders by right clicking> new folder. I can't put new files there either. (Its grayed out) Is this my fault? Can you help me please?
    Type "mount" at the command line and post the output here.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    12
    /dev/hda6 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/hda7 on /home type reiserfs (rw,acl,user_xattr)
    /dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf
    securityfs on /sys/kernel/security type securityfs (rw)
    /dev/hdb1 on /stuff type reiserfs (rw)


    I've been trying all sorts of stuff.. still not working. Thank you for posting though =)

  4. #4
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    OK, thanks for sending that. I asked for the wrong thing though -- I should have asked you to post the contents of /etc/fstab
    Code:
    less /etc/fstab
    Apologies!
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  5. #5
    Just Joined!
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    12
    /dev/hda6 / reiserfs acl,user_xattr 1 1
    /dev/hda7 /home reiserfs acl,user_xattr 1 2
    /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
    /dev/hda5 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 /stuff reiserfs user,acl,user_xattr 1 2

    Its still not working, but I can live for right now. Thanks for helping me out

  6. #6
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Thanks. I take it that you are having problems with "/stuff"?? Assuming it is, use "cd" to that folder, and then make a new file there,
    Code:
    cd /stuff
    touch testfile
    Tell us what happens when you do that.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  7. #7
    Just Joined!
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    12
    linux-s1ou:/stuff # touch new_file
    linux-s1ou:/stuff # dir
    total 0
    -rw-r--r-- 1 root root 0 2006-12-08 17:11 new_file


    As root only the others get permission denied..

    As root in kde I cannot create new files or folders, but if I do the copy by select with the mouse thingy, I can use 'paste contents' as a new file and it works o_o.

    Thanks for your continual help.

  8. #8
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    No probs

    It looks like the directory is owned by root, which means that no one else will have the privileges required to write to it. As root type (changing "inull" for whatever your username is),
    Code:
    chown -R inull:users /stuff
    Now go back to being a regular user, and type this to make sure the change worked,
    Code:
    ls -l /
    (Note that those are letter "l"'s, not the number one!). Instead of "root:root", it should say "inull:users" beside "stuff", which means that the directory is owned by "inull" and the group "users". Now everyone should be able to write to it. Test this by doing this as a regular user,
    Code:
    touch /stuff/another_testfile
    Did that work?

    By the way, it's normally considered bad to log into KDE as root, as there may be security problems. Most people (including me) recommend that you log in as a regular user, and then use the command "su -" to give yourself root permissions on the command line.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  9. #9
    Just Joined!
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    12
    Never mind that, it seems to have worked. hang on though.

    drwxr-xr-x 4 iNULL users 136 2006-12-08 17:14 stuff


    And, by the way I only logged into root ever to check create new file in konqueror.. which I still can't even do as root
    Using touch worked as normal user.

  10. #10
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Apologies, I screwed up the instructions, and forgot to include the name of the directory we want to change the ownership of. I've editted my previous post to give the right command.

    Sorry about making that mistake.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

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
  •  
...