Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: One-time-password application

  1. #11
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: One-time-password application

    Quote Originally Posted by And1945 View Post
    That "code" works for all folders that says "whine, you do not have the permissions" ... just write the complete location?
    no, that code adds your user to group "www-data", and /var/www has write permissions for all users who belog to group "www-data". As you can see, the command doesn't actually have any location in it, only a group name.

    (still, don't try to add your user to "root" grop even though most of the system directories would have full permissions for root user/group, that would just break things)

    What other directories you need to constantly write to?

  2. #12
    Join Date
    Apr 2007
    Location
    Denmark
    Beans
    136
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: One-time-password application

    My other partitions.

    I also says I dont have permissions for that. I have edited it, though.
    Ubuntu user: #19306
    HPE Microserver Gen8 | Device: HP DV5-1150eo

  3. #13
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: One-time-password application

    Quote Originally Posted by And1945 View Post
    My other partitions.

    I also says I dont have permissions for that. I have edited it, though.
    THat depends on what type of partitions they are. If they use any Widn ows filesystem (FAT, NTFS) you simply define the permisisons you want to sue for the whole partition in /etc/fstab, since the fileystems themselves lack any support for users/gropus and permisisons as Linux uses them.

    For any Linux filesystem, you can safely just chown the partition's mountpoint to your user. Or the plugdev group, which would give permissions for all normal user accounts).

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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