The Shared Files Can Be Viewed, but Cannot Be Uploaded, Deleted, or Renamed

Publication Date:  2012-07-19 Views:  87 Downloads:  0
Issue Description
The file sharing service is enabled on the virtual gateway and the shared file resource is specified. When a user logs in to the virtual gateway, the user can successfully access the specified shared file resource and view the directories and files, but cannot upload, delete, or rename the files
Alarm Information
None.
Handling Process
  • Cause one: If the type of the file server is NFS, the UID and GID of the user prohibits the user from uploading, deleting, and renaming files.

     

     NOTE:
    If the authentication is implemented through the server, change the GID of the corresponding external group in External Group Configuration. The following takes VPNDB users as an example.
    1. Log in to the Web-based NMS, and then click  in the Virtual Gateway List navigation tree to unfold the navigation node. Click VPNDB Configuration.
    2. Click the corresponding . The page on which you can modify user information is displayed.
    3. Modify the settings of the UID and GID of the user to grant the user the write permission to the NFS file server.
    4. Click Submit.

     

  • Cause two: If the type of the file server is SMB, the current user only has the read permission for the shared file resource, but has no write permission.

     

    Contact the administrator of the file server to apply for the write permission for the user.

     

Root Cause

Cause one: If the type of the file server is NFS, it indicates that the UID and GID of the user prohibits the user from uploading, deleting, and renaming files.

The NFS file server implements control on user access to the resource according to the UID and GID of the login user. The following user groups can be set for shared NFS files:
  • Owner

    An owner is the creator of the shared file.

  • User of the same group

    A user of the same group and the owner have the same GID, but different UIDs.

  • Other users

    The GIDs and UIDs of other users are different from those of an owner.

The file permissions of these three user groups can be different. Users are classified into user groups for file access according to the UIDs and GIDs.

Cause two: If the type of the file server is SMB, the current user only has the read permission for the shared file resource, but has no write permission

Suggestions
None.

END